From c8344e3bf25560498f066e6c74eba079c466f156 Mon Sep 17 00:00:00 2001 From: Selim Eser <2211482@stud.hs-mannheim.de> Date: Thu, 13 Jun 2024 17:53:37 +0200 Subject: [PATCH] current_weather return String slightly adjusted --- src/main/java/de/hs_mannheim/domain/System.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/hs_mannheim/domain/System.java b/src/main/java/de/hs_mannheim/domain/System.java index 0816d72..9e6f097 100644 --- a/src/main/java/de/hs_mannheim/domain/System.java +++ b/src/main/java/de/hs_mannheim/domain/System.java @@ -356,7 +356,7 @@ public class System { if (weather.equals("")) return "Es ist ein Fehler aufgetreten!"; else - return weather + ": " + temperature + " °C"; + return weather + "\n" + temperature + "°C"; }