Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-09-06 13:23:54 +0000
committerDani Megert2006-09-06 13:23:54 +0000
commit377d7ad9a511ebc73ce43b382f65811706f3feb0 (patch)
tree58bef9887a496ed84f4bf6abc69eae1e76121a1c /org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java
parentae722b86e5519d7970e4801643996a3e53d6b531 (diff)
downloadeclipse.platform.text-377d7ad9a511ebc73ce43b382f65811706f3feb0.tar.gz
eclipse.platform.text-377d7ad9a511ebc73ce43b382f65811706f3feb0.tar.xz
eclipse.platform.text-377d7ad9a511ebc73ce43b382f65811706f3feb0.zip
Fixed bug 67661: [implementation] Revisit editors isErrorStatus methods
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java
index 33794190092..c3fe565dedc 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/StatusTextEditor.java
@@ -97,7 +97,7 @@ public class StatusTextEditor extends AbstractTextEditor {
* @since 3.0
*/
protected boolean isErrorStatus(IStatus status) {
- return status != null && !status.isOK();
+ return status != null && status.getSeverity() == IStatus.ERROR;
}
/**

Back to the top