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.disposition.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.disposition.rest.model')
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java11
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java11
-rw-r--r--plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java9
3 files changed, 2 insertions, 29 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
index 97e9970c30..c3286bda34 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoAnnotationData.java
@@ -150,13 +150,4 @@ public class DispoAnnotationData implements Identifiable<String> {
this.idsOfCoveredDiscrepancies = new JSONArray();
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
- }
-}
+ }
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
index e2f2b5753a..e3998871fb 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoItemData.java
@@ -208,13 +208,4 @@ public class DispoItemData implements DispoItem {
this.methodNumber = methodNumber;
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
- }
-} \ No newline at end of file
+ } \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
index 7647f4eb22..5deb14a141 100644
--- a/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
+++ b/plugins/org.eclipse.osee.disposition.rest.model/src/org/eclipse/osee/disposition/model/DispoSetData.java
@@ -75,13 +75,4 @@ public class DispoSetData extends DispoSetDescriptorData implements DispoSet {
this.importState = importState;
}
- @Override
- public boolean matches(Identity<?>... identities) {
- for (Identity<?> identity : identities) {
- if (equals(identity)) {
- return true;
- }
- }
- return false;
}
-}

Back to the top