]> source.dussan.org Git - sonarqube.git/commitdiff
Remove warning
authorDavid Gageot <david@gageot.net>
Mon, 16 Jul 2012 13:35:20 +0000 (15:35 +0200)
committerDavid Gageot <david@gageot.net>
Mon, 16 Jul 2012 13:35:20 +0000 (15:35 +0200)
plugins/sonar-squid-java-plugin/src/test/java/org/sonar/plugins/squid/bridges/DsmSerializerTest.java

index f6d2d102b745c7f52c3cc7a820a1adcd9b787042..0dbf2b9e5c0de5397684a66cd898ee59e89fcc41 100644 (file)
@@ -41,7 +41,7 @@ public class DsmSerializerTest {
 
   @Test
   public void serializeEmptyDsm() {
-    Dsm dsm = new Dsm(new DirectedGraph());
+    Dsm<SourceCode> dsm = new Dsm<SourceCode>(new DirectedGraph<SourceCode, SourceCodeEdge>());
     assertThat(DsmSerializer.serialize(dsm, new DependencyIndex(), new ResourceIndex()), is("[]"));
   }