Changed method return to ArrayList<String>
parent
5a4cc07d9e
commit
1be9d7b429
|
@ -5,6 +5,7 @@ import java.net.http.HttpClient;
|
||||||
import java.net.http.HttpRequest;
|
import java.net.http.HttpRequest;
|
||||||
import java.net.http.HttpResponse;
|
import java.net.http.HttpResponse;
|
||||||
import java.net.http.HttpResponse.BodyHandlers;
|
import java.net.http.HttpResponse.BodyHandlers;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
|
|
||||||
|
@ -43,12 +44,12 @@ public class System {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TreeSet<String> search(String hometown_or_zip){
|
public ArrayList<String> search(String hometown_or_zip){
|
||||||
return new TreeSet<String>();
|
return new ArrayList<String>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public TreeSet<String> random_destinations(){
|
public ArrayList<String> random_destinations(){
|
||||||
return new TreeSet<String>();
|
return new ArrayList<String>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String[] destination_details(String destination_zip){
|
public String[] destination_details(String destination_zip){
|
||||||
|
|
Loading…
Reference in New Issue