From 372745939c57f9d5d3b725cb08747a87e361a49f Mon Sep 17 00:00:00 2001 From: Selim Eser <2211482@stud.hs-mannheim.de> Date: Sun, 9 Jun 2024 20:23:12 +0200 Subject: [PATCH 1/2] Application.java includes all System methods without the user methods now --- src/main/java/de/hs_mannheim/facade/Application.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/hs_mannheim/facade/Application.java b/src/main/java/de/hs_mannheim/facade/Application.java index 597ce20..5fca9b2 100644 --- a/src/main/java/de/hs_mannheim/facade/Application.java +++ b/src/main/java/de/hs_mannheim/facade/Application.java @@ -29,23 +29,23 @@ public class Application { } public ArrayList search(String hometown_or_zip){ - return new ArrayList(); + return running_system.search(hometown_or_zip); } public ArrayList random_destinations_car(){ - return new ArrayList(); + return running_system.random_destinations_car(); } public ArrayList random_destinations_bike(){ - return new ArrayList(); + return running_system.random_destinations_bike(); } public String[] destination_details(String destination_zip){ - return new String[1]; + return running_system.destination_details(destination_zip); } public String current_weather(){ - return ""; + return running_system.current_weather(); } } From 9c6ed4b889f127e26d6b8fe53bbfab8adc901e28 Mon Sep 17 00:00:00 2001 From: Selim Eser <2211482@stud.hs-mannheim.de> Date: Sun, 9 Jun 2024 20:26:24 +0200 Subject: [PATCH 2/2] Enabled Static code analysis --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index c58c717..1a81f1b 100644 --- a/pom.xml +++ b/pom.xml @@ -90,7 +90,7 @@ - org.apache.maven.plugins maven-pmd-plugin @@ -103,7 +103,7 @@ - --> + \ No newline at end of file