tmf: Switch tmf.core to Java 7 + fix warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / internal / tmf / core / analysis / TmfAnalysisType.java
index 3a5a78aace3b914dca599c06ae8b5020ce5eebc7..757d90786cebba47a679e1742779485dbb45279a 100644 (file)
@@ -71,7 +71,7 @@ public final class TmfAnalysisType {
      * The mapping of available trace type IDs to their corresponding
      * configuration element
      */
-    private final Map<String, IAnalysisModuleHelper> fAnalysisTypeAttributes = new HashMap<String, IAnalysisModuleHelper>();
+    private final Map<String, IAnalysisModuleHelper> fAnalysisTypeAttributes = new HashMap<>();
 
     private static TmfAnalysisType fInstance = null;
 
@@ -84,7 +84,7 @@ public final class TmfAnalysisType {
     public static IConfigurationElement[] getTypeElements() {
         IConfigurationElement[] elements =
                 Platform.getExtensionRegistry().getConfigurationElementsFor(TMF_ANALYSIS_TYPE_ID);
-        List<IConfigurationElement> typeElements = new LinkedList<IConfigurationElement>();
+        List<IConfigurationElement> typeElements = new LinkedList<>();
         for (IConfigurationElement element : elements) {
             if (element.getName().equals(MODULE_ELEM)) {
                 typeElements.add(element);
This page took 0.02363 seconds and 5 git commands to generate.