Sonar Fix: Configuration.java 39/91339/1
authorArundathi Patil <arundpil@in.ibm.com>
Fri, 12 Jul 2019 10:40:14 +0000 (16:10 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Fri, 12 Jul 2019 10:40:29 +0000 (16:10 +0530)
Fixed sonar issue in this file

Issue-ID: AAI-2510
Change-Id: I03dc84d005caad5a3181fa89bd9a750c31153ba2
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java

index 9befb13..6d97177 100644 (file)
@@ -3,6 +3,7 @@
  * org.onap.aai
  * ================================================================================
  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Modification Copyright © 2019 IBM
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -64,7 +65,9 @@ public class PropertyPasswordConfiguration implements ApplicationContextInitiali
     }
 
     private String decodePasswordsInString(String input) {
-        if (input == null) return null;
+        if (input == null) {
+            return null;
+        };
         StringBuffer output = new StringBuffer();
         Matcher matcher = decodePasswordPattern.matcher(input);
         while (matcher.find()) {