ctf: Move CTF plugins to Java 7 and fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / event / types / EnumDeclaration.java
index 0d2dda81fb472c5b98dc60e5d693cf21821c6fb7..a4919c7c1c2b56bc19f4a26e44e907a8bc6dc1b9 100644 (file)
@@ -36,7 +36,7 @@ public class EnumDeclaration implements IDeclaration {
 
     private final EnumTable fTable = new EnumTable();
     private final IntegerDeclaration fContainerType;
-    private final Set<String> fLabels = new HashSet<String>();
+    private final Set<String> fLabels = new HashSet<>();
 
     // ------------------------------------------------------------------------
     // Constructors
@@ -129,7 +129,7 @@ public class EnumDeclaration implements IDeclaration {
      */
     private class EnumTable {
 
-        private final List<LabelAndRange> ranges = new LinkedList<LabelAndRange>();
+        private final List<LabelAndRange> ranges = new LinkedList<>();
 
         public EnumTable() {
         }
This page took 0.026303 seconds and 5 git commands to generate.