PIbd - 21 Bakalskaya E.D. LabWork7 Hard #10

Closed
ekallin wants to merge 12 commits from LabWork7 into LabWork6
Showing only changes of commit de8b08ea93 - Show all commits

View File

@ -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());