tmf: Switch tmf.ui to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / internal / tmf / ui / parsers / custom / CustomEvent.java
index 391395556eb2fae7108964991554d9d322a2ed3d..fcbc803f1764db2874716eca995438a939fa92b9 100644 (file)
@@ -70,7 +70,7 @@ public class CustomEvent extends TmfEvent {
      */
     public CustomEvent(CustomTraceDefinition definition) {
         fDefinition = definition;
-        fData = new HashMap<String, String>();
+        fData = new HashMap<>();
     }
 
     /**
@@ -84,7 +84,7 @@ public class CustomEvent extends TmfEvent {
     public CustomEvent(CustomTraceDefinition definition, TmfEvent other) {
         super(other);
         fDefinition = definition;
-        fData = new HashMap<String, String>();
+        fData = new HashMap<>();
 
         /* Set our overridden fields */
         customEventTimestamp = other.getTimestamp();
@@ -114,7 +114,7 @@ public class CustomEvent extends TmfEvent {
         /* Do not use upstream's fields for stuff we override */
         super(parentTrace, null, source, null, null, reference);
         fDefinition = definition;
-        fData = new HashMap<String, String>();
+        fData = new HashMap<>();
 
         /* Set our overridden fields */
         customEventTimestamp = timestamp;
This page took 0.027332 seconds and 5 git commands to generate.