Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2020-12-15 00:59:17 +0000
committerRyan D. Brooks2021-01-15 04:23:20 +0000
commit864a166d80c54708cf77a9f317a71c0f6f1e784f (patch)
tree4bf24708b4cf03b51008bdb99451c40f293812a8
parentf33d869315427f69d5f5de5599206db44c0250e0 (diff)
downloadorg.eclipse.osee-864a166d80c54708cf77a9f317a71c0f6f1e784f.tar.gz
org.eclipse.osee-864a166d80c54708cf77a9f317a71c0f6f1e784f.tar.xz
org.eclipse.osee-864a166d80c54708cf77a9f317a71c0f6f1e784f.zip
refinement: Use artifact type inheritance in artifact endpoint
-rw-r--r--plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/ArtifactEndpointImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/ArtifactEndpointImpl.java b/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/ArtifactEndpointImpl.java
index 01a51b4fe29..b17a0af1274 100644
--- a/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/ArtifactEndpointImpl.java
+++ b/plugins/org.eclipse.osee.orcs.rest/src/org/eclipse/osee/orcs/rest/internal/ArtifactEndpointImpl.java
@@ -149,7 +149,7 @@ public class ArtifactEndpointImpl implements ArtifactEndpoint {
private <T> T getArtifactXByAttribute(QueryBuilder query, AttributeTypeToken attributeType, String value, boolean exists, ArtifactTypeToken artifactType, Supplier<T> queryMethod) {
if (artifactType.isValid()) {
- query.andTypeEquals(artifactType);
+ query.andIsOfType(artifactType);
}
if (attributeType.isValid()) {
if (exists) {

Back to the top