PIbd - 21 Bakalskaya E.D. LabWork7 Hard #10
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user