From 3a1a6e9107f42b4689a1b5d3ce09f770dbb46bda Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Wed, 26 Jun 2019 10:21:39 +0200 Subject: fix vararg warnings in RemoveOrphansFromProjectBranchesTest --- .../db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java index 56bdbfeaf32..da0cd4d69ab 100644 --- a/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java +++ b/server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java @@ -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); } -- cgit v1.2.3