linux.core: making SyscallNameAspect final
authorWassim <wassim.nasrallah.36@gmail.com>
Mon, 6 Jun 2016 19:58:59 +0000 (15:58 -0400)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 14 Jun 2016 18:02:57 +0000 (14:02 -0400)
This patch is to make a class final in linux.core component.
It should be final to improve readability and since you should never
extend it. It also allows the jvm to inline methods and improve
performance.

Change-Id: I6df113ac664cb7e11981de84d64460d3c90cacb3
Signed-off-by: Wassim <wassim.nasrallah.36@gmail.com>
Reviewed-on: https://git.eclipse.org/r/74715
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>
analysis/org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/internal/analysis/os/linux/core/latency/SystemCallLatencyAnalysis.java

index 43cc6b6aca4ad60885b16197d7f733d2753c8b07..4bb42c570d9c47cfed3b5c7dfd1e43546b1d1fa4 100644 (file)
@@ -177,7 +177,7 @@ public class SystemCallLatencyAnalysis extends AbstractSegmentStoreAnalysisEvent
         }
     }
 
-    private static class SyscallNameAspect implements ISegmentAspect {
+    private static final class SyscallNameAspect implements ISegmentAspect {
         public static final ISegmentAspect INSTANCE = new SyscallNameAspect();
 
         private SyscallNameAspect() { }
This page took 0.02577 seconds and 5 git commands to generate.