From de8b08ea9366c0168ed263f451ebbeb8bbaf1671 Mon Sep 17 00:00:00 2001 From: ekallin Date: Tue, 19 Dec 2023 14:34:54 +0400 Subject: [PATCH] ready lab 7 for pull request --- ProjectElectricLocomotive/FormLocomotiveCollections.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ProjectElectricLocomotive/FormLocomotiveCollections.java b/ProjectElectricLocomotive/FormLocomotiveCollections.java index 3717e91..a2e2c7a 100644 --- a/ProjectElectricLocomotive/FormLocomotiveCollections.java +++ b/ProjectElectricLocomotive/FormLocomotiveCollections.java @@ -129,7 +129,6 @@ public class FormLocomotiveCollections { try { DrawingLocomotive removedPlane = obj.SubOverload(pos); - //if (removedPlane != null) { _stackRemoveObjects.push(removedPlane); Refresh(); @@ -138,7 +137,6 @@ public class FormLocomotiveCollections { "Успех", JOptionPane.INFORMATION_MESSAGE); _logger.info("Удален объект " + removedPlane); - //} } catch (LocoNotFoundException ex) { JOptionPane.showMessageDialog(null, ex.getMessage()); _logger.warn("Не удалось удалить объект" + ex.getMessage());