diff options
author | Lars Vogel | 2020-07-07 15:29:09 +0000 |
---|---|---|
committer | Lars Vogel | 2020-07-14 11:04:00 +0000 |
commit | d1a6bf9ed982e9065ae0d80e33ec4ea609a76a23 (patch) | |
tree | f877a3c377f8333e97773ae7f19b02795edae468 | |
parent | d8a196440adce93246a1619f1f4293fbe80bb300 (diff) | |
download | eclipse.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.java | 10 |
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) { |