tmf: Remove toString on string objects
authorSonia Farrah <sonia.farrah@ericsson.com>
Wed, 4 May 2016 19:56:57 +0000 (15:56 -0400)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Mon, 30 May 2016 20:12:47 +0000 (16:12 -0400)
Change-Id: I87bfd0f41dc50cde994e5d5bed1cf221a6477c05
Signed-off-by: Sonia Farrah <sonia.farrah@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/72086
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/filter/model/TmfFilterCompareNode.java

index 2d18d80b3026d0ab1a3f807adf91f862b62ff628..9f9ad0082acdd5dae191e3720ffa9fa80b5ff5f6 100644 (file)
@@ -178,7 +178,7 @@ public class TmfFilterCompareNode extends TmfFilterAspectNode {
             }
         } else if (fType == Type.ALPHA) {
             String valueString = value.toString();
-            int comp = (int) Math.signum(valueString.compareTo(fValue.toString()));
+            int comp = (int) Math.signum(valueString.compareTo(fValue));
             return (comp == fResult) ^ fNot;
         } else if (fType == Type.TIMESTAMP) {
             if (fValueTimestamp != null) {
This page took 0.026471 seconds and 5 git commands to generate.