Changed method return to ArrayList<String> in Application.java aswell

get_destinations_methods
Selim Eser 2024-06-09 15:19:05 +02:00
parent 1be9d7b429
commit 757e33fc8f
1 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,6 @@
package de.hs_mannheim.facade; package de.hs_mannheim.facade;
import java.util.ArrayList;
import java.util.TreeSet; import java.util.TreeSet;
import de.hs_mannheim.domain.System; import de.hs_mannheim.domain.System;
@ -28,12 +29,12 @@ public class Application {
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){