X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FCategory.java;h=275b03e5ad898463d73861a31c2bb609b8e5e57f;hp=1d0f0e456b4e45ce13620a6324565cc08fd83afa;hb=401b48bc573561f097960a9ca7abe6d788456f28;hpb=9301fed7c290f52208922f780fdfe4b5a880b5aa diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Category.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Category.java index 1d0f0e456..275b03e5a 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Category.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/Category.java @@ -170,12 +170,12 @@ public class Category implements Serializable { @Transient public boolean isStandard() { - return (this.isStandard == Category.STANDARD); + return this.isStandard == Category.STANDARD; } @Transient public boolean isCustom() { - return (this.isStandard == Category.CUSTOM); + return this.isStandard == Category.CUSTOM; } @Transient