aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla Sailakshmi <tsaila10@in.ibm.com>2019-07-26 00:53:07 +0530
committerDan Timoney <dtimoney@att.com>2019-07-26 17:37:11 +0000
commitd1aa75018ea5c01c748a04e261b98054e2e7bfc7 (patch)
treecaa31794863e253900c4d8d2e32599774ed633c0
parentee3fd9dad8bd5ba5988df9b41d4d3e0bef159fe8 (diff)
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 <tsaila10@in.ibm.com>
-rw-r--r--ccsdk-app-common/src/main/java/org/onap/ccsdk/dashboard/util/DashboardProperties.java6
1 files 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*");
}
/**