Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2006-02-24 13:49:07 -0500
committerDarin Swanson2006-02-24 13:49:07 -0500
commitb66f75b69f1c56ff5b178f1eff1ec04ffc7ec242 (patch)
tree18a2b47dd71732184f0f4378db21546651c17a5e /org.eclipse.ui.console
parent51951185e33b7b8a32fff29b2265d717dd4c6924 (diff)
downloadeclipse.platform.debug-b66f75b69f1c56ff5b178f1eff1ec04ffc7ec242.tar.gz
eclipse.platform.debug-b66f75b69f1c56ff5b178f1eff1ec04ffc7ec242.tar.xz
eclipse.platform.debug-b66f75b69f1c56ff5b178f1eff1ec04ffc7ec242.zip
display cannot be null
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IOConsolePartitioner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IOConsolePartitioner.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IOConsolePartitioner.java
index bb3d868d8..7589047f8 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IOConsolePartitioner.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/IOConsolePartitioner.java
@@ -513,7 +513,7 @@ public class IOConsolePartitioner implements IConsoleDocumentPartitioner, IDocum
ArrayList pendingCopy = new ArrayList();
StringBuffer buffer = null;
boolean consoleClosed = false;
- while (display != null && pendingPartitions.size() > 0) {
+ while (pendingPartitions.size() > 0) {
synchronized(pendingPartitions) {
pendingCopy.addAll(pendingPartitions);
pendingPartitions.clear();

Back to the top