Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2015-12-01 16:08:09 +0000
committerMarkus Keller2015-12-01 16:08:09 +0000
commit7e4ccad828f771ba6f03bf5c585ba5779d2bacdc (patch)
tree03b76b849af8d95c448ebbab5434ce1c06ab72bb /org.eclipse.ui.workbench.texteditor
parent96da92a20589d62dad534245c5d9c4d45618ee95 (diff)
downloadeclipse.platform.text-7e4ccad828f771ba6f03bf5c585ba5779d2bacdc.tar.gz
eclipse.platform.text-7e4ccad828f771ba6f03bf5c585ba5779d2bacdc.tar.xz
eclipse.platform.text-7e4ccad828f771ba6f03bf5c585ba5779d2bacdc.zip
follow-up to bug 478673: fixed resource leaks
Diffstat (limited to 'org.eclipse.ui.workbench.texteditor')
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
index 56c34f9e7..b14561573 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatePreferencePage.java
@@ -1586,7 +1586,6 @@ public abstract class TemplatePreferencePage extends PreferencePage implements I
String left= ((TemplateLabelProvider)baseLabel).getColumnText(e1, fSortColumn);
String right= ((TemplateLabelProvider)baseLabel).getColumnText(e2, fSortColumn);
- @SuppressWarnings("unchecked")
int sortResult= getComparator().compare(left, right);
return sortResult * fSortOrder;
}

Back to the top