Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2015-10-21 23:35:29 -0400
committerRyan D. Brooks2015-10-21 23:35:29 -0400
commit9ad4458ac263f4ae6f985ba8146a4b7262bd5f17 (patch)
tree778a1548dce7d16f9e600a1e24ce7ef82f5cf4f8 /plugins/org.eclipse.osee.account.rest.model
parent3b2e15bef570555bf0e492005c5baeb73d031a4a (diff)
downloadorg.eclipse.osee-9ad4458ac263f4ae6f985ba8146a4b7262bd5f17.tar.gz
org.eclipse.osee-9ad4458ac263f4ae6f985ba8146a4b7262bd5f17.tar.xz
org.eclipse.osee-9ad4458ac263f4ae6f985ba8146a4b7262bd5f17.zip
refactor: Provide default method for Identity.matches
Diffstat (limited to 'plugins/org.eclipse.osee.account.rest.model')
-rw-r--r--plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountActiveData.java12
-rw-r--r--plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java10
-rw-r--r--plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionData.java10
-rw-r--r--plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionGroupData.java10
4 files changed, 1 insertions, 41 deletions
diff --git a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountActiveData.java b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountActiveData.java
index 204744b0522..5530a80f3d5 100644
--- a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountActiveData.java
+++ b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountActiveData.java
@@ -72,14 +72,4 @@ public class AccountActiveData implements Identity<String> {
public String toString() {
return String.valueOf(getGuid());
}
-
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
- }
-}
+} \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
index 62b5ee1c9a6..21f889eb6a9 100644
--- a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
+++ b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/AccountInfoData.java
@@ -110,14 +110,4 @@ public class AccountInfoData implements Identity<String> {
return String.valueOf(getGuid());
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
}
-
-}
diff --git a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionData.java b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionData.java
index ed9e27ab2b3..16f158ac29e 100644
--- a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionData.java
+++ b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionData.java
@@ -84,14 +84,4 @@ public class SubscriptionData implements Identifiable<String> {
return String.valueOf(getGuid());
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
}
-
-}
diff --git a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionGroupData.java b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionGroupData.java
index d1e160b3eac..3f033b6c0b7 100644
--- a/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionGroupData.java
+++ b/plugins/org.eclipse.osee.account.rest.model/src/org/eclipse/osee/account/rest/model/SubscriptionGroupData.java
@@ -75,14 +75,4 @@ public class SubscriptionGroupData implements Identifiable<String> {
return String.valueOf(getGuid());
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
}
-
-}

Back to the top