diff options
Diffstat (limited to 'ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java')
-rw-r--r-- | ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java index 6be1a84ce..15948bd6d 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Datatype.java @@ -222,12 +222,12 @@ public class Datatype implements Serializable { @Transient public boolean isStandard() { - return (this.isStandard == Datatype.STANDARD); + return this.isStandard == Datatype.STANDARD; } @Transient public boolean isCustom() { - return (this.isStandard == Datatype.CUSTOM); + return this.isStandard == Datatype.CUSTOM; } @Transient @@ -237,8 +237,6 @@ public class Datatype implements Serializable { + ", xacmlId=" + xacmlId + ", shortName=" + shortName + ", attributes=" + attributes + ", functions=" + functions + ", arguments=" + arguments + "]"; - - //return "Datatype [shortName=" + shortName + "]"; } } |