releng: replace some "" with StringUtils.EMPTY
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Thu, 17 Nov 2016 19:32:39 +0000 (14:32 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 21 Nov 2016 20:27:16 +0000 (15:27 -0500)
Change-Id: Ifcd84861dec27ee515f4a216cbdb22e09f6f3e9b
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/85233
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
releng/org.eclipse.tracecompass.alltests/META-INF/MANIFEST.MF
releng/org.eclipse.tracecompass.alltests/src/org/eclipse/tracecompass/alltests/perf/PerfResultsToJSon.java

index e3953783eba715cb17158fcf2ba777543b9e8040..0f162532fe1f764bb29f01e423f5d5166c9188a7 100644 (file)
@@ -46,6 +46,7 @@ Require-Bundle: org.junit;bundle-version="4.0.0",
 Export-Package: org.eclipse.tracecompass.alltests;x-internal:=true,
  org.eclipse.tracecompass.alltests.perf;x-internal:=true,
  org.eclipse.tracecompass.alltests.swtbot;x-internal:=true
-Import-Package: org.apache.derby.jdbc,
+Import-Package: org.apache.commons.lang,
+ org.apache.derby.jdbc,
  org.json
 Bundle-Activator: org.eclipse.tracecompass.alltests.Activator
index 0948f104164dff2d07ec93ab5b84b69194f04309..85e8684f88e5a919ca4b3c2f3db77a800ab0efcc 100644 (file)
@@ -23,6 +23,7 @@ import java.util.List;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import org.apache.commons.lang.StringUtils;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.test.internal.performance.PerformanceTestPlugin;
 import org.eclipse.test.internal.performance.data.Dim;
@@ -403,8 +404,8 @@ public class PerfResultsToJSon {
         overviewMetadata.put(FILE_LABEL, OVERVIEW_CHART_FILE_NAME + numOverviewChart);
         overviewMetadata.put(OS_LABEL, os);
         overviewMetadata.put(JVM_LABEL, jvm);
-        overviewMetadata.put(DIMENSION_LABEL, "");
-        overviewMetadata.put(UNIT_LABEL, "");
+        overviewMetadata.put(DIMENSION_LABEL, StringUtils.EMPTY);
+        overviewMetadata.put(UNIT_LABEL, StringUtils.EMPTY);
 
         return overviewMetadata;
     }
This page took 0.026385 seconds and 5 git commands to generate.