From d1aa75018ea5c01c748a04e261b98054e2e7bfc7 Mon Sep 17 00:00:00 2001 From: Thugutla Sailakshmi Date: Fri, 26 Jul 2019 00:53:07 +0530 Subject: 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 --- .../java/org/onap/ccsdk/dashboard/util/DashboardProperties.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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*"); } /** -- cgit 1.2.3-korg