ctf: Fix some Sonar warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core.tests / src / org / eclipse / linuxtools / ctf / core / tests / types / StructDeclarationTest.java
index c6627b4543521cecd012ae41112189031e65e58d..e170e4423d90e8ece452ec33f8714ceaa651ab5b 100644 (file)
@@ -15,8 +15,8 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
-import java.util.HashMap;
 import java.util.List;
+import java.util.Map;
 
 import org.eclipse.linuxtools.ctf.core.event.types.IDeclaration;
 import org.eclipse.linuxtools.ctf.core.event.types.StringDeclaration;
@@ -82,7 +82,7 @@ public class StructDeclarationTest {
      */
     @Test
     public void testGetFields() {
-        HashMap<String, IDeclaration> result = fixture.getFields();
+        Map<String, IDeclaration> result = fixture.getFields();
 
         assertNotNull(result);
         assertEquals(0, result.size());
This page took 0.034185 seconds and 5 git commands to generate.