]> source.dussan.org Git - sonarqube.git/commitdiff
fix vararg warnings in RemoveOrphansFromProjectBranchesTest
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 26 Jun 2019 08:21:39 +0000 (10:21 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 28 Jun 2019 06:45:52 +0000 (08:45 +0200)
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java

index 56bdbfeaf3278f6c633fee561b3fcf6a1360a8f2..da0cd4d69ab9002f930e93b9a6a69d5cde561474 100644 (file)
@@ -52,7 +52,7 @@ public class RemoveOrphansFromProjectBranchesTest {
 
     underTest.execute();
 
-    assertThat(db.select("select uuid as \"UUID\" from project_branches").stream().map(t -> t.get("UUID")))
+    assertThat(db.select("select uuid as \"UUID\" from project_branches").stream().map(t -> (String) t.get("UUID")))
       .containsOnly(keeps)
       .doesNotContain(deletes);
   }