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;
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;

View File

@ -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;