Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java')
-rw-r--r--plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java b/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java
index 4fd461221d3..ff5cdc5ebdf 100644
--- a/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java
+++ b/plugins/org.eclipse.osee.framework.core.model/src/org/eclipse/osee/framework/core/model/internal/fields/ArtifactSuperTypeField.java
@@ -34,13 +34,12 @@ public final class ArtifactSuperTypeField extends CollectionField<ArtifactType>
Collection<ArtifactType> toReturn = Collections.emptyList();
if (input == null || input.isEmpty()) {
if (!baseType.equals(CoreArtifactTypes.Artifact)) {
- throw new OseeInvalidInheritanceException(String.format(
- "All artifacts must inherit from [Artifact] - attempted make [%s] have null inheritance", baseType));
+ throw new OseeInvalidInheritanceException(
+ "All artifacts must inherit from [Artifact] - attempted make [%s] have null inheritance", baseType);
}
} else {
if (input.contains(baseType)) {
- throw new OseeInvalidInheritanceException(String.format(
- "Circular inheritance detected for artifact type [%s]", baseType));
+ throw new OseeInvalidInheritanceException("Circular inheritance detected for artifact type [%s]", baseType);
}
toReturn = input;
}

Back to the top