diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-06-26 10:21:39 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-06-28 08:45:52 +0200 |
commit | 3a1a6e9107f42b4689a1b5d3ce09f770dbb46bda (patch) | |
tree | a543d22833e6017d07e79059eb0d9d8b4ad05447 | |
parent | bc1e2754d1d79c50e029d7d78fa2c654ccfad2e6 (diff) | |
download | sonarqube-3a1a6e9107f42b4689a1b5d3ce09f770dbb46bda.tar.gz sonarqube-3a1a6e9107f42b4689a1b5d3ce09f770dbb46bda.zip |
fix vararg warnings in RemoveOrphansFromProjectBranchesTest
-rw-r--r-- | server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v78/RemoveOrphansFromProjectBranchesTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |