Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-07 15:29:09 +0000
committerLars Vogel2020-07-14 11:04:00 +0000
commitd1a6bf9ed982e9065ae0d80e33ec4ea609a76a23 (patch)
treef877a3c377f8333e97773ae7f19b02795edae468
parentd8a196440adce93246a1619f1f4293fbe80bb300 (diff)
downloadeclipse.platform.ui-d1a6bf9ed982e9065ae0d80e33ec4ea609a76a23.tar.gz
eclipse.platform.ui-d1a6bf9ed982e9065ae0d80e33ec4ea609a76a23.tar.xz
eclipse.platform.ui-d1a6bf9ed982e9065ae0d80e33ec4ea609a76a23.zip
Bug 564144 - Unused method in bundles/org.eclipse.ui.workbench/Eclipse
UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java Used code mining to check that this method with typo is not called Change-Id: I4a0277ce5a9d1f58bf52ffe448d46ae18c9d4c71 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java
index 34b1cc8809e..b3c2bf8bb60 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/expressions/LegacyActionSetExpression.java
@@ -36,11 +36,6 @@ import org.eclipse.ui.IWorkbenchWindow;
public final class LegacyActionSetExpression extends WorkbenchWindowExpression {
/**
- * The seed for the hash code for all schemes.
- */
- private static final int HASH_INITIAL = LegacyActionSetExpression.class.getName().hashCode();
-
- /**
* The identifier of the action set that must be active for this expression to
* evaluate to <code>true</code>. This value is never <code>null</code>.
*/
@@ -70,11 +65,6 @@ public final class LegacyActionSetExpression extends WorkbenchWindowExpression {
info.addVariableNameAccess(ISources.ACTIVE_CONTEXT_NAME);
}
- protected int computeHhashCode() {
- int hashCode = HASH_INITIAL * HASH_FACTOR + hashCode(getWindow());
- return hashCode * HASH_FACTOR + hashCode(actionSetId);
- }
-
@Override
public boolean equals(final Object object) {
if (object instanceof LegacyActionSetExpression) {

Back to the top