tmf : Remove inefficient new String(String) constructor
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Mon, 23 Nov 2015 22:44:45 +0000 (17:44 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 24 Nov 2015 18:31:45 +0000 (13:31 -0500)
Change-Id: I1ee9e4c969042e27219a756daeb9d43c210d23c1
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/61085
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/TmfAnalysisModuleHelperConfigElement.java

index e7737e48cdaa48921d686ed492d1699de73fb43b..8487f54088b2526d0bdad3146465766c80b07a10 100644 (file)
@@ -93,7 +93,7 @@ public class TmfAnalysisModuleHelperConfigElement implements IAnalysisModuleHelp
          * FIXME: No need to externalize this. A better solution will be found
          * soon and this string is just temporary
          */
-        return new String("The trace must be opened to get the help message"); //$NON-NLS-1$
+        return "The trace must be opened to get the help message"; //$NON-NLS-1$
     }
 
     @Override
This page took 0.024432 seconds and 5 git commands to generate.