ready lab 7 for pull request
This commit is contained in:
parent
e36c5b8f35
commit
de8b08ea93
@ -129,7 +129,6 @@ public class FormLocomotiveCollections {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
DrawingLocomotive removedPlane = obj.SubOverload(pos);
|
DrawingLocomotive removedPlane = obj.SubOverload(pos);
|
||||||
//if (removedPlane != null) {
|
|
||||||
_stackRemoveObjects.push(removedPlane);
|
_stackRemoveObjects.push(removedPlane);
|
||||||
Refresh();
|
Refresh();
|
||||||
|
|
||||||
@ -138,7 +137,6 @@ public class FormLocomotiveCollections {
|
|||||||
"Успех",
|
"Успех",
|
||||||
JOptionPane.INFORMATION_MESSAGE);
|
JOptionPane.INFORMATION_MESSAGE);
|
||||||
_logger.info("Удален объект " + removedPlane);
|
_logger.info("Удален объект " + removedPlane);
|
||||||
//}
|
|
||||||
} catch (LocoNotFoundException ex) {
|
} catch (LocoNotFoundException ex) {
|
||||||
JOptionPane.showMessageDialog(null, ex.getMessage());
|
JOptionPane.showMessageDialog(null, ex.getMessage());
|
||||||
_logger.warn("Не удалось удалить объект" + ex.getMessage());
|
_logger.warn("Не удалось удалить объект" + ex.getMessage());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user