Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2017-01-31 15:05:04 -0500
committerdonald.g.dunne2017-02-06 13:24:46 -0500
commiteb45e4b4c8430d5493fa1c9c3b6dca3af7a149f1 (patch)
tree535f076ffe3b5864d86030543397eaf4b8414514
parent2347c264474a5c56fe434631d4324986d9ce459d (diff)
downloadorg.eclipse.osee-eb45e4b4c8430d5493fa1c9c3b6dca3af7a149f1.tar.gz
org.eclipse.osee-eb45e4b4c8430d5493fa1c9c3b6dca3af7a149f1.tar.xz
org.eclipse.osee-eb45e4b4c8430d5493fa1c9c3b6dca3af7a149f1.zip
bug[ats_ATS344961]: Improve AtsStoreServices.isOfType
-rw-r--r--plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/util/IAtsStoreService.java2
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java2
-rw-r--r--plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/util/AtsStoreServiceImpl.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/util/IAtsStoreService.java b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/util/IAtsStoreService.java
index 3b718af7753..51bb1840ca5 100644
--- a/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/util/IAtsStoreService.java
+++ b/plugins/org.eclipse.osee.ats.api/src/org/eclipse/osee/ats/api/util/IAtsStoreService.java
@@ -49,6 +49,6 @@ public interface IAtsStoreService {
boolean isDateType(IAttributeType attributeType);
- boolean isOfType(ArtifactId artifact, IArtifactType artifactType);
+ boolean isOfType(ArtifactId artifact, IArtifactType... artifactType);
}
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
index cde0d646289..558cd9d28cb 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/internal/AtsStoreService.java
@@ -137,7 +137,7 @@ public class AtsStoreService implements IAtsStoreService {
}
@Override
- public boolean isOfType(ArtifactId artifact, IArtifactType artifactType) {
+ public boolean isOfType(ArtifactId artifact, IArtifactType... artifactType) {
return ((Artifact) artifact).isOfType(artifactType);
}
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/util/AtsStoreServiceImpl.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/util/AtsStoreServiceImpl.java
index 8d51b18381a..f942b58d8db 100644
--- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/util/AtsStoreServiceImpl.java
+++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/util/AtsStoreServiceImpl.java
@@ -130,7 +130,7 @@ public class AtsStoreServiceImpl implements IAtsStoreService {
}
@Override
- public boolean isOfType(ArtifactId artifact, IArtifactType artifactType) {
+ public boolean isOfType(ArtifactId artifact, IArtifactType... artifactType) {
return ((ArtifactReadable) artifact).isOfType(artifactType);
}

Back to the top