Skip to content

Commit

Permalink
graded assignment LaunchCodeEducation#2 completed & refactored --> al…
Browse files Browse the repository at this point in the history
…l tests pass
  • Loading branch information
byndas committed May 13, 2024
1 parent 830ee15 commit 8747d53
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions src/main/java/org/launchcode/techjobs/oo/Location.java
Original file line number Diff line number Diff line change
@@ -1,35 +1,5 @@
package org.launchcode.techjobs.oo;

public class Location extends JobField {

// private int id;
// private static int nextId = 1;
// private String value;
////////////////////////////////////////////////////////////////////////////
// public Location() {
// id = nextId;
// nextId++;
// }
public Location(String value) { super(value); }

// public Location(String value) {
// this(); // initializes id by default
// this.value = value;
// }
////////////////////////////////////////////////////////////////////////////
// @Override
// public boolean equals(Object o) {
// // objects are equal if share same id
// if (this == o) return true;
// if (!(o instanceof Location)) return false;
// Location location = (Location) o;
// return getId() == location.getId();
// }
////////////////////////////////////////////////////////////////////////////
// public int getId() { return id; }
//
// public String getValue() { return value; }
// public void setValue(String value) {
// this.value = value;
// }
}

0 comments on commit 8747d53

Please sign in to comment.