Browse Source

Remove useless outputs.

Mikael Capelle 6 years ago
parent
commit
51e166600d
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      src/main/org/insa/graphics/BlockingActionFactory.java

+ 2
- 4
src/main/org/insa/graphics/BlockingActionFactory.java View File

@@ -34,14 +34,12 @@ public class BlockingActionFactory {
34 34
                     RunningAction action = actions.get(i);
35 35
                     // If action is running, ask user...
36 36
                     if (action.isRunning()) {
37
-                        System.out.println("Action " + action.getInformation() + " is running... ");
38
-                        if (JOptionPane.showConfirmDialog(parentComponent, "Action {" + action.getInformation()
37
+                        if (JOptionPane.showConfirmDialog(parentComponent, "Action {"
38
+                                + action.getInformation()
39 39
                                 + "} is running, do you want to stop it?") == JOptionPane.OK_OPTION) {
40
-                            System.out.println("Action " + action.getInformation() + " has been interrupted.");
41 40
                             action.interrupt();
42 41
                         }
43 42
                         else {
44
-                            System.out.println("Action " + action.getInformation() + " not interrupted... ");
45 43
                             accepted = false;
46 44
                         }
47 45
                     }

Loading…
Cancel
Save