From 41d8d067fe1db70c3ab101674e10e5b72c394d5a Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 20:00:17 +0100 Subject: [PATCH] refactoring: noteTextappendKommi --- src/main/java/Notizbuch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/Notizbuch.java b/src/main/java/Notizbuch.java index 4fbcd0a..88727c1 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -57,7 +57,7 @@ public class Notizbuch extends JFrame implements ActionListener { StringBuilder noteText = new StringBuilder(); String line; while ((line = reader.readLine()) != null) { - noteText.append(line).append("\n"); + noteText.append(line).append("\n"); // Zeilen aus der Datei lesen und StringBuilder hinzufügen } getTextArea().setText(noteText.toString()); } catch (IOException e) {