diff --git a/src/Location.java b/src/Location.java index 94062ee..8139665 100644 --- a/src/Location.java +++ b/src/Location.java @@ -13,11 +13,18 @@ import org.json.simple.JSONArray; import org.json.simple.JSONObject; public class Location { + private double latitude; private double longitude; private String city; private JSONObject jsonInfo; - + + /** + * Manual location constructor + * @param lat + * @param lon + * @param city + */ public Location(double lat, double lon, String city) { latitude = lat; longitude = lon; diff --git a/src/Questions.java b/src/Questions.java index 2765db6..1c7af28 100644 --- a/src/Questions.java +++ b/src/Questions.java @@ -1,6 +1,5 @@ import java.util.Arrays; import java.util.List; -import java.util.NoSuchElementException; import java.util.Scanner; import org.joda.time.LocalDate;