summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-07-12 16:10:14 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-07-12 16:10:29 +0530
commit1f31f51a1f82ce62ebf8774c03dedc09c299c7a4 (patch)
treeeb9e4ee714979f41c5b6c577143c83a2e29f2c34 /src
parentfc60975d760aa515be2a45fe5176217de5e5372b (diff)
Sonar Fix: Configuration.java
Fixed sonar issue in this file Issue-ID: AAI-2510 Change-Id: I03dc84d005caad5a3181fa89bd9a750c31153ba2 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java b/src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java
index 9befb13..6d97177 100644
--- a/src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java
+++ b/src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java
@@ -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()) {