diff options
author | pfullbright | 2012-07-20 20:22:32 +0000 |
---|---|---|
committer | pfullbright | 2012-07-20 20:22:32 +0000 |
commit | 16645d263bd69613f4422e28219ebb3fbf0edff7 (patch) | |
tree | 870239fb9086b0603709dfe21abb0c0860b76060 /common | |
parent | 4dfbab13c4e3991f6e5ae8d0d159b6c4206378cb (diff) | |
download | webtools.dali-16645d263bd69613f4422e28219ebb3fbf0edff7.tar.gz webtools.dali-16645d263bd69613f4422e28219ebb3fbf0edff7.tar.xz webtools.dali-16645d263bd69613f4422e28219ebb3fbf0edff7.zip |
removed occurrence
Diffstat (limited to 'common')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/InheritedAttributeKey.java | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/InheritedAttributeKey.java b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/InheritedAttributeKey.java index c03b63ac02..a5e8820750 100644 --- a/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/InheritedAttributeKey.java +++ b/common/plugins/org.eclipse.jpt.common.core/src/org/eclipse/jpt/common/core/internal/resource/java/InheritedAttributeKey.java @@ -9,19 +9,17 @@ *******************************************************************************/ package org.eclipse.jpt.common.core.internal.resource.java; + public class InheritedAttributeKey { private String typeName; private String attributeName; - private int occurrence; - - public InheritedAttributeKey(String typeName, String attributeName, int occurrence) { + public InheritedAttributeKey(String typeName, String attributeName) { this.typeName = typeName; this.attributeName = attributeName; - this.occurrence = occurrence; } @@ -32,14 +30,12 @@ public class InheritedAttributeKey { } InheritedAttributeKey other = (InheritedAttributeKey) obj; return this.typeName.equals(other.typeName) - && this.attributeName.equals(other.attributeName) - && this.occurrence == other.occurrence; + && this.attributeName.equals(other.attributeName); } @Override public int hashCode() { return this.typeName.hashCode() - * this.attributeName.hashCode() - * this.occurrence; + * this.attributeName.hashCode() ; } -}
\ No newline at end of file +} |