diff --git a/src/main/java/io/ebeaninternal/server/deploy/InheritInfo.java b/src/main/java/io/ebeaninternal/server/deploy/InheritInfo.java index 4476c2f81..6554edf59 100644 --- a/src/main/java/io/ebeaninternal/server/deploy/InheritInfo.java +++ b/src/main/java/io/ebeaninternal/server/deploy/InheritInfo.java @@ -11,6 +11,7 @@ import java.lang.reflect.Modifier; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; +import java.util.List; import java.util.Set; /** @@ -33,7 +34,7 @@ public class InheritInfo { private final Class type; - private final ArrayList children = new ArrayList<>(); + private final List children = new ArrayList<>(); /** * Map of discriminator values to InheritInfo. @@ -111,7 +112,7 @@ public class InheritInfo { * return true if anything in the inheritance hierarchy has a relationship with a save cascade on * it. */ - public boolean isSaveRecurseSkippable() { + boolean isSaveRecurseSkippable() { return root.isNodeSaveRecurseSkippable(); } @@ -131,7 +132,7 @@ public class InheritInfo { * return true if anything in the inheritance hierarchy has a relationship with a delete cascade * on it. */ - public boolean isDeleteRecurseSkippable() { + boolean isDeleteRecurseSkippable() { return root.isNodeDeleteRecurseSkippable(); } @@ -171,7 +172,7 @@ public class InheritInfo { /** * Return the children. */ - public ArrayList getChildren() { + public List getChildren() { return children; } @@ -188,7 +189,7 @@ public class InheritInfo { /** * Get the bean property additionally looking in the sub types. */ - public BeanProperty findSubTypeProperty(String propertyName) { + BeanProperty findSubTypeProperty(String propertyName) { BeanProperty prop; @@ -227,7 +228,7 @@ public class InheritInfo { /** * Return the associated InheritInfo for this discriminator value. */ - public InheritInfo readType(String discValue) { + InheritInfo readType(String discValue) { if (discValue == null) { return null; @@ -371,7 +372,7 @@ public class InheritInfo { /** * Return the discriminator value for this node. */ - public String getDiscriminatorStringValue() { + String getDiscriminatorStringValue() { return discriminatorStringValue; }