summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2018-09-12 16:05:29 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 16:05:29 +0000
commit7ad0599a9f38d8c0d209d2ed69f2fb1ddd935e9f (patch)
treeb8bcc003f97aa14ffbd7d3ea9e151bc71af5a2fb /ecomp-sdk
parent7f17123b90c7cc4efa5b054ef906d61a8150aab8 (diff)
parentb45e81924f8e25fa7c43c1d97521881c4085171d (diff)
Merge "Sonar major issues"
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/LineCollection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/LineCollection.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/LineCollection.java
index d68c9855..eee04045 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/LineCollection.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/LineCollection.java
@@ -47,8 +47,8 @@ public class LineCollection {
private ArrayList<LineInfo> lineCollection;
public LineCollection() {
- lineCollection = new ArrayList<LineInfo>(20000);
- selectedLine = new HashSet<String>();
+ lineCollection = new ArrayList<>(20000);
+ selectedLine = new HashSet<>();
}
public void addSelectedLine(String lineID) {
@@ -157,7 +157,7 @@ public class LineCollection {
}
public String[] getWildCardLine(String lineID) {
- ArrayList<String> list = new ArrayList<String>();
+ ArrayList<String> list = new ArrayList<>();
for (LineInfo lineInfo : lineCollection) {
if (lineInfo.getLineID().toLowerCase().indexOf(lineID.toLowerCase()) != -1) {