aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-07-26 20:20:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-26 20:20:52 +0000
commit1389a99971faab450ea1e33728aab788343d98e7 (patch)
treea6edec65cf93930201ee16dcc858beb2f2201361
parent65069d959fc753d1de10f74661d9f523a8882539 (diff)
parentd1aa75018ea5c01c748a04e261b98054e2e7bfc7 (diff)
Merge "CCSDK-1536 -return this expression instead of assigning it to the temporary variable"
-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*");
}
/**