From 79e6be28161d2f7cc48a2658ae64b1f9bcb29d0e Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Wed, 4 Apr 2018 09:16:30 +0200 Subject: [PATCH] =?UTF-8?q?Praktikum=201:=20ein=20paar=20=C3=A4nderungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hs/java2/praktikum1/GrosseZahl.java | 23 ++++++++----------- .../hs/java2/tests/GrosseZahlTest.java | 3 ++- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/main/java/de/joethei/hs/java2/praktikum1/GrosseZahl.java b/src/main/java/de/joethei/hs/java2/praktikum1/GrosseZahl.java index 6be29b0..eb6402d 100644 --- a/src/main/java/de/joethei/hs/java2/praktikum1/GrosseZahl.java +++ b/src/main/java/de/joethei/hs/java2/praktikum1/GrosseZahl.java @@ -1,11 +1,7 @@ package de.joethei.hs.java2.praktikum1; -import java.util.logging.Logger; - public class GrosseZahl { - private Logger logger = Logger.getLogger(this.getClass().getName()); - private int Zahl[]; public GrosseZahl(String d) { @@ -35,11 +31,11 @@ public class GrosseZahl { @Override public String toString() { - String rueckgabe = ""; - for(int i=0; i