Remove the literal "true" boolean value.

Redundant Boolean literals should be removed from expressions to improve readability.

Issue-ID: CCSDK-1541
Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e
Signed-off-by: anushadasari <danush10@in.ibm.com>
diff --git a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/validator/DbNameValidator.java b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/validator/DbNameValidator.java
index 131144b..2071d85 100644
--- a/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/validator/DbNameValidator.java
+++ b/ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/validator/DbNameValidator.java
@@ -38,6 +38,6 @@
      */
     public boolean validate(String namingType, String name) throws Exception {
         GeneratedName genName = genNameRepo.findUnReleased(namingType, name);
-        return (genName == null) ? true : false;
+        return (genName == null);
     }
 }