diff options
author | donald.g.dunne | 2018-09-27 18:54:31 +0000 |
---|---|---|
committer | Donald Dunne | 2018-10-12 19:38:41 +0000 |
commit | a02be67f14551848e4c1fd471fd0d5a74754cbc3 (patch) | |
tree | 587507ee0e12c43f36715da382dec97b0a34aa69 /plugins/org.eclipse.osee.framework.skynet.core | |
parent | 5bf4d721f98df2a4abb09c0812ee5d7ef3b6b56a (diff) | |
download | org.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.tar.gz org.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.tar.xz org.eclipse.osee-a02be67f14551848e4c1fd471fd0d5a74754cbc3.zip |
refinement: Remove getGuid calls in Artifact
Change-Id: I6c13300c015bf07da546438cb47e83f35bd96548
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.java | 4 |
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; } |