From 1f31f51a1f82ce62ebf8774c03dedc09c299c7a4 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Fri, 12 Jul 2019 16:10:14 +0530 Subject: Sonar Fix: Configuration.java Fixed sonar issue in this file Issue-ID: AAI-2510 Change-Id: I03dc84d005caad5a3181fa89bd9a750c31153ba2 Signed-off-by: Arundathi Patil --- src/main/java/org/onap/aai/config/PropertyPasswordConfiguration.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()) { -- cgit 1.2.3-korg