Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2017-01-11 20:38:17 +0000
committerLars Vogel2017-01-11 20:38:17 +0000
commitf4fbf4ecf56758b9443f635bf187d4638a99e91e (patch)
treee1819d6ca73824c5da34dca21085bea16287e6dc
parent9d16778daa14c3f2ccdcd395da0e60a672dad2e8 (diff)
downloadeclipse.platform.text-f4fbf4ecf56758b9443f635bf187d4638a99e91e.tar.gz
eclipse.platform.text-f4fbf4ecf56758b9443f635bf187d4638a99e91e.tar.xz
eclipse.platform.text-f4fbf4ecf56758b9443f635bf187d4638a99e91e.zip
Bug 510311 - Fix issues reported by Sonar Correctness - equals method
always returns false Change-Id: I72caef22eb8d8a49d6133fe7f25e0ce4325d213c Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateVariableProcessor.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateVariableProcessor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateVariableProcessor.java
index 58500362f..18b983acc 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateVariableProcessor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplateVariableProcessor.java
@@ -42,16 +42,6 @@ final class TemplateVariableProcessor implements IContentAssistProcessor {
public int compare(TemplateVariableProposal proposal0, TemplateVariableProposal proposal1) {
return proposal0.getDisplayString().compareTo(proposal1.getDisplayString());
}
-
- @Override
- public boolean equals(Object arg0) {
- return false;
- }
-
- @Override
- public int hashCode() {
- return super.hashCode();
- }
};

Back to the top