From 5cc917bbd360064ae8da6e7db11327e6eab3bc22 Mon Sep 17 00:00:00 2001 From: Stefan <31254851+piregler@users.noreply.github.com> Date: Mon, 26 Dec 2022 17:08:37 +0100 Subject: [PATCH] deleted debug code --- src/de/hsmannheim/informatik/name/domain/RobotFactory.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/de/hsmannheim/informatik/name/domain/RobotFactory.java b/src/de/hsmannheim/informatik/name/domain/RobotFactory.java index e14e2f8..120c4df 100644 --- a/src/de/hsmannheim/informatik/name/domain/RobotFactory.java +++ b/src/de/hsmannheim/informatik/name/domain/RobotFactory.java @@ -35,16 +35,12 @@ public class RobotFactory { case C3P0 -> { int serialNumberC3P0; do{ -// String temp = String.format("%04d", r.nextInt(1000)+10000); serialNumberC3P0 = r.nextInt(10000)+10000; if(!serialNumbersC3P0.contains(serialNumberC3P0)){ serialNumbersC3P0.add(serialNumberC3P0); usedSerialNumber = false; } }while(usedSerialNumber); - //Debug output - System.out.println(serialNumberC3P0); - // return new C3PO(serialNumberC3P0); } case R2D2 -> { @@ -57,9 +53,6 @@ public class RobotFactory { usedSerialNumber = false; } }while(usedSerialNumber); - //Debug output - System.out.println(serialNumberR2D2); - // return new R2D2(serialNumberR2D2); } default -> {