Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2018-09-27 18:54:31 +0000
committerDonald Dunne2018-10-12 19:38:41 +0000
commita02be67f14551848e4c1fd471fd0d5a74754cbc3 (patch)
tree587507ee0e12c43f36715da382dec97b0a34aa69 /plugins/org.eclipse.osee.framework.skynet.core
parent5bf4d721f98df2a4abb09c0812ee5d7ef3b6b56a (diff)
downloadorg.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.tar.gz
org.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.tar.xz
org.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.zip
refinement: Remove getGuid calls in Artifact
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java
index 6d7d80f7746..1044ea18bef 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java
@@ -710,7 +710,7 @@ public class Artifact extends FullyNamedIdentity<String> implements IArtifact, A
} else if (soleAttributes.size() > 1) {
throw new MultipleAttributesExist(
"Attribute [%s] must have exactly one instance. It currently has %d for artifact [%s] on branch [%s]",
- attributeType, soleAttributes.size(), getGuid(), getBranch());
+ attributeType, soleAttributes.size(), toStringWithId(), getBranch());
} else {
return defaultReturnValue;
}
@@ -765,7 +765,7 @@ public class Artifact extends FullyNamedIdentity<String> implements IArtifact, A
} else if (soleAttributes.size() > 1) {
throw new MultipleAttributesExist(
"Attribute [%s] must have exactly one instance. It currently has %d for artifact [%s] on branch [%s]",
- attributeType, soleAttributes.size(), getGuid(), getBranch());
+ attributeType, soleAttributes.size(), toStringWithId(), getBranch());
} else {
return defaultReturnValue;
}

Back to the top