Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-08-08 10:22:46 +0000
committerUwe Stieber2012-08-08 10:22:46 +0000
commitbc6a8cf72d264cba1d7b961d97afa75f39f1d473 (patch)
tree058c4b226bae606ef2e3995b10a1a9fb8889f821 /target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core
parent331efd6b235b4719f8c8813e5c60fb023223533a (diff)
downloadorg.eclipse.tcf-bc6a8cf72d264cba1d7b961d97afa75f39f1d473.tar.gz
org.eclipse.tcf-bc6a8cf72d264cba1d7b961d97afa75f39f1d473.tar.xz
org.eclipse.tcf-bc6a8cf72d264cba1d7b961d97afa75f39f1d473.zip
Target Explorer: Fix more FindBugs warnings
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessStreamsListener.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessStreamsListener.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessStreamsListener.java
index 51df9e9d4..bcdb0b38c 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessStreamsListener.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.core/src/org/eclipse/tcf/te/tcf/processes/core/launcher/ProcessStreamsListener.java
@@ -557,18 +557,18 @@ public class ProcessStreamsListener implements IStreams.StreamsListener, IProces
synchronized (this) {
// Mark the runnable definitely stopped
stopped = true;
- // Disconnect is done, ignore any error, invoke the callback
- if (getCallback() != null) getCallback().done(this, Status.OK_STATUS);
}
+ // Disconnect is done, ignore any error, invoke the callback
+ if (getCallback() != null) getCallback().done(this, Status.OK_STATUS);
}
});
} else {
synchronized (this) {
// Mark the runnable definitely stopped
stopped = true;
- // Invoke the callback directly, if any
- if (callback != null) callback.done(this, Status.OK_STATUS);
}
+ // Invoke the callback directly, if any
+ if (callback != null) callback.done(this, Status.OK_STATUS);
}
}

Back to the top