From 62ffa07a64f6c8f3a0a5dbbc55bf41101d24982d Mon Sep 17 00:00:00 2001 From: fdai7753 Date: Wed, 7 Feb 2024 15:44:17 +0100 Subject: [PATCH] refactoring: Removed redundant code --- src/main/java/pacmanGame/Map.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/pacmanGame/Map.java b/src/main/java/pacmanGame/Map.java index f48c937..77ebc6d 100644 --- a/src/main/java/pacmanGame/Map.java +++ b/src/main/java/pacmanGame/Map.java @@ -48,10 +48,6 @@ public class Map { this.put("s", "empty"); this.put(".", "dot"); this.put("w", "wall"); - - for(int i = 0; i < 10; i++) { - this.put(i+"", "empty"); - } this.put("0", "empty"); this.put("1", "empty"); this.put("2", "empty");