forked from LaunchCodeEducation/techjobs-oo-java-graded-17
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graded assignment LaunchCodeEducation#2 completed & refactored --> al…
…l tests pass
- Loading branch information
Showing
1 changed file
with
0 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
// } | ||
} |