diff --git a/framework/entity/src/org/ofbiz/entity/util/EntityTypeUtil.java b/framework/entity/src/org/ofbiz/entity/util/EntityTypeUtil.java index 4a5ba968f0..a9a438f889 100644 --- a/framework/entity/src/org/ofbiz/entity/util/EntityTypeUtil.java +++ b/framework/entity/src/org/ofbiz/entity/util/EntityTypeUtil.java @@ -31,10 +31,12 @@ import org.ofbiz.entity.GenericValue; * Makes it easier to deal with entities that follow the * extensibility pattern and that can be of various types as identified in the database. */ -public class EntityTypeUtil { +public final class EntityTypeUtil { public static final String module = EntityTypeUtil.class.getName(); + private EntityTypeUtil() {} + public static boolean isType(Collection thisCollection, String typeRelation, GenericValue targetType) { for (GenericValue value: thisCollection) { try {