From 07c6a6ae756291ef453b1d16958193a985150747 Mon Sep 17 00:00:00 2001 From: Marc Dimmerling Date: Fri, 9 Feb 2024 19:55:18 +0100 Subject: [PATCH] refactoring: LoadNoteKommi --- 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 23247c2..3dfeb42 100644 --- a/src/main/java/Notizbuch.java +++ b/src/main/java/Notizbuch.java @@ -51,7 +51,7 @@ public class Notizbuch extends JFrame implements ActionListener { JOptionPane.showMessageDialog(this, "Fehler beim Speichern der Notiz: " + e.getMessage()); } } - + // Methode zum Laden von Notizen public void loadNote() { try (BufferedReader reader = new BufferedReader(new FileReader("notizen.txt"))) { StringBuilder noteText = new StringBuilder();