diff options
Diffstat (limited to 'ms')
-rw-r--r-- | ms/neng/src/main/java/org/onap/ccsdk/apps/ms/neng/core/validator/DbNameValidator.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 131144b9..2071d85f 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 class DbNameValidator { */ public boolean validate(String namingType, String name) throws Exception { GeneratedName genName = genNameRepo.findUnReleased(namingType, name); - return (genName == null) ? true : false; + return (genName == null); } } |