From 94d83a31ca49271a3be2cdaa27d9cefb2b6449b3 Mon Sep 17 00:00:00 2001 From: Safgerd Date: Tue, 6 Dec 2022 17:09:12 +0400 Subject: [PATCH] =?UTF-8?q?LabWork06:=20=D0=A4=D0=B8=D0=BA=D1=81=D1=8B,=20?= =?UTF-8?q?=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=B5=D0=BD=20=D1=80=D0=B5?= =?UTF-8?q?=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D0=BD=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MapsCollection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MapsCollection.java b/MapsCollection.java index 553c9ce..4c1b5f9 100644 --- a/MapsCollection.java +++ b/MapsCollection.java @@ -146,13 +146,12 @@ public class MapsCollection { case "DumpMap" -> new MapWithSetTracktorGeneric<>(_pictureWidth, _pictureHeight, new DumpMap()); default -> null; }; + _mapsStorage.put(mapName, map); } while ((currentLine = reader.readLine()) != null) { map._setTracktor.insert(DrawningObjectExcavator.create(currentLine)); } - - _mapsStorage.put(mapName, map); } return true;