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 / core / Frame.java
index 6c54fde7ef44eaba7d0e42e4506d9d54a1e678a7..0c653a5ca7bb25da885d8af29bd804b89653ce85 100755 (executable)
@@ -687,7 +687,7 @@ public class Frame extends BasicFrame {
     protected List<SDTimeEvent> buildTimeArray() {
 
         if (!hasChildren()) {
-            return new ArrayList<SDTimeEvent>();
+            return new ArrayList<>();
         }
 
         List<SDTimeEvent> timeArray = super.buildTimeArray();
@@ -706,7 +706,7 @@ public class Frame extends BasicFrame {
                                 SDTimeEvent f = new SDTimeEvent(time, event, eo);
                                 timeArray.add(f);
                                 if (fExecutionOccurrencesWithTime == null) {
-                                    fExecutionOccurrencesWithTime = new ArrayList<SDTimeEvent>();
+                                    fExecutionOccurrencesWithTime = new ArrayList<>();
                                 }
                                 fExecutionOccurrencesWithTime.add(f);
                                 event = eo.getEndOccurrence();
This page took 0.026903 seconds and 5 git commands to generate.