tmf: Switch tmf.ui to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / TimeCompressionBar.java
index 4cdd4febaeef1f4e367b5d6e424341a9f6481fe1..8a073ccb2664c8a469f394b789d7636c03a2fabd 100755 (executable)
@@ -156,7 +156,7 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         super(parent, s | SWT.NO_BACKGROUND, false);
         setVScrollBarMode(ScrollView.ALWAYS_OFF);
         setHScrollBarMode(ScrollView.ALWAYS_OFF);
-        fListenerList = new ArrayList<ITimeCompressionListener>();
+        fListenerList = new ArrayList<>();
         fColors = new ColorImpl[NUMBER_STEPS];
         int greenBlue = BASE_GREEN_BLUE_VALUE;
         final int step = COLOR_STEP;
@@ -276,7 +276,7 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         if (fFrame == null) {
             return;
         }
-        fNodeList = new ArrayList<SDTimeEvent>();
+        fNodeList = new ArrayList<>();
         int messageArraysStep = 1;
 
         if ((Metrics.getMessageFontHeigth() + Metrics.MESSAGES_NAME_SPACING * 2) * fZoomValue < Metrics.MESSAGE_SIGNIFICANT_VSPACING + 1) {
This page took 0.025835 seconds and 5 git commands to generate.