JavaDoc & Clean

This commit is contained in:
hesham 2019-04-24 17:39:25 +03:00
parent f73a8ba394
commit 02a82cc89d
2 changed files with 8 additions and 2 deletions

View File

@ -13,11 +13,18 @@ import org.json.simple.JSONArray;
import org.json.simple.JSONObject; import org.json.simple.JSONObject;
public class Location { public class Location {
private double latitude; private double latitude;
private double longitude; private double longitude;
private String city; private String city;
private JSONObject jsonInfo; private JSONObject jsonInfo;
/**
* Manual location constructor
* @param lat
* @param lon
* @param city
*/
public Location(double lat, double lon, String city) { public Location(double lat, double lon, String city) {
latitude = lat; latitude = lat;
longitude = lon; longitude = lon;

View File

@ -1,6 +1,5 @@
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.NoSuchElementException;
import java.util.Scanner; import java.util.Scanner;
import org.joda.time.LocalDate; import org.joda.time.LocalDate;