From: Thugutla Sailakshmi Date: Thu, 25 Jul 2019 19:23:07 +0000 (+0530) Subject: CCSDK-1536 -return this expression instead of assigning it to the temporary variable X-Git-Tag: 1.3.0~14^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d1aa75018ea5c01c748a04e261b98054e2e7bfc7;p=ccsdk%2Fdashboard.git CCSDK-1536 -return this expression instead of assigning it to the temporary variable return this expression instead of assigning it to the temporary variable Issue-ID: CCSDK-1536 Change-Id: Ib0e7970585978e84189b5c71f2fd9c6c6c74eab8 Signed-off-by: Thugutla Sailakshmi --- diff --git a/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/util/DashboardProperties.java b/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/util/DashboardProperties.java index d167f9c..35d5d01 100644 --- a/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/util/DashboardProperties.java +++ b/ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/util/DashboardProperties.java @@ -3,6 +3,8 @@ * * ================================================================================= * Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -178,8 +180,8 @@ public class DashboardProperties { String listVal = getProperty(key); if (listVal == null) return null; - String[] vals = listVal.split("\\s*,\\s*"); - return vals; + + return listVal.split("\\s*,\\s*"); } /**