From f56b5f4d7e8a8e9536efc6a1647fb462f801dddb Mon Sep 17 00:00:00 2001 From: Marc Michalsky Date: Tue, 21 Apr 2020 13:12:51 +0200 Subject: [PATCH] =?UTF-8?q?Eingabe=20wieder=20schlie=C3=9Fen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/geburtstag/Geburtstag.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/geburtstag/Geburtstag.java b/src/geburtstag/Geburtstag.java index c8f6484..8d5f8be 100644 --- a/src/geburtstag/Geburtstag.java +++ b/src/geburtstag/Geburtstag.java @@ -121,6 +121,9 @@ public class Geburtstag { } } + // Eingabe schließen + myInput.close(); + String[] zeit = eingabeZeit.split("[:]"); int jahr = Integer.parseInt(datum[2]);