From a02be67f14551848e4c1fd471fd0d5a74754cbc3 Mon Sep 17 00:00:00 2001 From: donald.g.dunne Date: Thu, 27 Sep 2018 11:54:31 -0700 Subject: refinement: Remove getGuid calls in Artifact Change-Id: I6c13300c015bf07da546438cb47e83f35bd96548 --- .../src/org/eclipse/osee/framework/skynet/core/artifact/Artifact.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/org.eclipse.osee.framework.skynet.core') 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 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 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; } -- cgit v1.2.3