diff options
Diffstat (limited to 'ecomp-sdk/epsdk-analytics/src/main/java')
3 files changed, 8 insertions, 10 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/Line.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/Line.java index f3b0cd85..f8893423 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/Line.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/gmap/line/Line.java @@ -39,8 +39,6 @@ package org.onap.portalsdk.analytics.gmap.line; import java.awt.geom.Point2D; import java.util.ArrayList; -import java.util.HashSet; -import java.util.Set; import org.onap.portalsdk.analytics.gmap.map.NovaMap; diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/runtime/ChartD3Helper.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/runtime/ChartD3Helper.java index 721d46ab..19b7b138 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/runtime/ChartD3Helper.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/model/runtime/ChartD3Helper.java @@ -2840,28 +2840,28 @@ public class ChartD3Helper { dataStr.append("{"); dataStr.append(" \"xxxxxx\":{\n"); String mid = ""; - String mid_old = ""; + String midOld = ""; String level = "-1"; - String level_old = "-1"; + String levelOld = "-1"; String eid = ""; for (int i = 0; i < ds.getRowCount(); i++) { mid = ds.getString(i, "mid"); level = ds.getString(i, "level1"); eid = ds.getString(i, "eid"); - if(mid.equals(mid_old)) { + if(mid.equals(midOld)) { dataStr.append("\""+ eid +"\": 9956,\n"); } else { if(dataStr.lastIndexOf(",")!= -1) dataStr.deleteCharAt(dataStr.lastIndexOf(",")); - //if(Integer.parseInt(level_old)==Integer.parseInt(level)) + //if(Integer.parseInt(levelOld)==Integer.parseInt(level)) //dataStr.append("},\n"); - if (Integer.parseInt(level_old)<Integer.parseInt(level)) + if (Integer.parseInt(levelOld)<Integer.parseInt(level)) dataStr.append("},\n"); dataStr.append("\""+ mid +"\": { \n"); } - mid_old = mid; - level_old = level; + midOld = mid; + levelOld = level; } if(dataStr.toString().endsWith(",")) dataStr.deleteCharAt(dataStr.lastIndexOf(",")); diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/scheduler/SendEmail.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/scheduler/SendEmail.java index 1f6b4917..f698e556 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/scheduler/SendEmail.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/scheduler/SendEmail.java @@ -399,7 +399,7 @@ SchedulerUtil schedulerUtil; void createFile(HttpURLConnection con, String outputFolder, String fileName) - throws IOException, FileNotFoundException { + throws IOException { //BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); InputStream in = con.getInputStream(); |