Remove useless outputs.
このコミットが含まれているのは:
コミット
51e166600d
1個のファイルの変更、2行の追加、4行の削除
|
|
@ -34,14 +34,12 @@ public class BlockingActionFactory {
|
||||||
RunningAction action = actions.get(i);
|
RunningAction action = actions.get(i);
|
||||||
// If action is running, ask user...
|
// If action is running, ask user...
|
||||||
if (action.isRunning()) {
|
if (action.isRunning()) {
|
||||||
System.out.println("Action " + action.getInformation() + " is running... ");
|
if (JOptionPane.showConfirmDialog(parentComponent, "Action {"
|
||||||
if (JOptionPane.showConfirmDialog(parentComponent, "Action {" + action.getInformation()
|
+ action.getInformation()
|
||||||
+ "} is running, do you want to stop it?") == JOptionPane.OK_OPTION) {
|
+ "} is running, do you want to stop it?") == JOptionPane.OK_OPTION) {
|
||||||
System.out.println("Action " + action.getInformation() + " has been interrupted.");
|
|
||||||
action.interrupt();
|
action.interrupt();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
System.out.println("Action " + action.getInformation() + " not interrupted... ");
|
|
||||||
accepted = false;
|
accepted = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
読み込み中…
新しいイシューから参照