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 -> {