lttng : Remove inefficient new String(String) constructor
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Mon, 23 Nov 2015 22:54:42 +0000 (17:54 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Fri, 27 Nov 2015 03:17:15 +0000 (22:17 -0500)
Change-Id: I924a7b75f1fa22b1b45c3bb93b5bafa5b177f7b0
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/61088
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
lttng/org.eclipse.tracecompass.lttng2.ust.core/src/org/eclipse/tracecompass/internal/lttng2/ust/core/analysis/debuginfo/UstDebugInfoBinaryFile.java

index ef5a7d9bdadce12ebdd587259942260b5e2f8ae6..617c577d8d2702799a158f66a62751bd1862fa1b 100644 (file)
@@ -33,7 +33,7 @@ public class UstDebugInfoBinaryFile implements Comparable<UstDebugInfoBinaryFile
     public UstDebugInfoBinaryFile(String filePath, String buildId) {
         fFilePath = filePath;
         fBuildId = buildId;
-        fToString = new String(filePath + " (" + buildId + ')'); //$NON-NLS-1$
+        fToString = filePath + " (" + buildId + ')'; //$NON-NLS-1$
     }
 
     /**
This page took 0.027871 seconds and 5 git commands to generate.