Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2004-04-08 16:12:56 +0000
committerDani Megert2004-04-08 16:12:56 +0000
commitcde9c24d83b4ba58677c39379d21f854941aee98 (patch)
treeea64b1f03f650199feb9e9ab2359d526e265dd2e
parent502738a455175780443e17b7850ff5053486b83d (diff)
downloadeclipse.platform.text-cde9c24d83b4ba58677c39379d21f854941aee98.tar.gz
eclipse.platform.text-cde9c24d83b4ba58677c39379d21f854941aee98.tar.xz
eclipse.platform.text-cde9c24d83b4ba58677c39379d21f854941aee98.zip
Removed unneccessary casts/instanceof checks
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
index dc5b49b49..031aa0de3 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
@@ -4190,7 +4190,7 @@ public abstract class AbstractTextEditor extends EditorPart implements ITextEdit
}
if (IVerticalRulerInfo.class.equals(required)) {
- if (fVerticalRuler instanceof IVerticalRulerInfo)
+ if (fVerticalRuler != null)
return fVerticalRuler;
}

Back to the top