Changed method return to ArrayList<String>

get_destinations_methods
Selim Eser 2024-06-09 15:17:47 +02:00
parent 5a4cc07d9e
commit 1be9d7b429
1 changed files with 5 additions and 4 deletions

View File

@ -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){