From 757e33fc8f1cdba53b4afb0fe0e04e666155c33d Mon Sep 17 00:00:00 2001 From: Selim Eser <2211482@stud.hs-mannheim.de> Date: Sun, 9 Jun 2024 15:19:05 +0200 Subject: [PATCH] Changed method return to ArrayList in Application.java aswell --- src/main/java/de/hs_mannheim/facade/Application.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/hs_mannheim/facade/Application.java b/src/main/java/de/hs_mannheim/facade/Application.java index 14d3c20..6db7b10 100644 --- a/src/main/java/de/hs_mannheim/facade/Application.java +++ b/src/main/java/de/hs_mannheim/facade/Application.java @@ -1,5 +1,6 @@ package de.hs_mannheim.facade; +import java.util.ArrayList; import java.util.TreeSet; import de.hs_mannheim.domain.System; @@ -28,12 +29,12 @@ public class Application { return true; } - public TreeSet search(String hometown_or_zip){ - return new TreeSet(); + public ArrayList search(String hometown_or_zip){ + return new ArrayList(); } - public TreeSet random_destinations(){ - return new TreeSet(); + public ArrayList random_destinations(){ + return new ArrayList(); } public String[] destination_details(String destination_zip){