commit | f4df41d8ec1321d50b93368a407ad5c346889049 | [log] [tgz] |
---|---|---|
author | anushadasari <danush10@in.ibm.com> | Fri Jul 26 16:09:40 2019 +0530 |
committer | anushadasari <danush10@in.ibm.com> | Fri Jul 26 16:11:01 2019 +0530 |
tree | 0f400a551f54d08059cee54f688639b039844bc9 | |
parent | 93876b9e564e9d47ebe25245f315eb7342421c54 [diff] |
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); } }