diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-07-19 21:48:19 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-07-25 23:02:07 +0200 |
commit | 710daeb6ef71ae21bd55a83f863907e14aa458a6 (patch) | |
tree | bcdbbdc8cf31dbfc13b3f2be6d27bdb9d3b69ff0 /sonar-core/src | |
parent | 71a00349dbf59b7161af75b095a641084b4a8aa3 (diff) | |
download | sonarqube-710daeb6ef71ae21bd55a83f863907e14aa458a6.tar.gz sonarqube-710daeb6ef71ae21bd55a83f863907e14aa458a6.zip |
Decrease coupling with Guava
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/util/UuidsTest.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/util/UuidsTest.java b/sonar-core/src/test/java/org/sonar/core/util/UuidsTest.java index c00a49c2c8f..9c5f12be1ec 100644 --- a/sonar-core/src/test/java/org/sonar/core/util/UuidsTest.java +++ b/sonar-core/src/test/java/org/sonar/core/util/UuidsTest.java @@ -19,19 +19,18 @@ */ package org.sonar.core.util; -import com.google.common.collect.Sets; +import java.util.HashSet; +import java.util.Set; import org.junit.Test; import org.sonar.test.TestUtils; -import java.util.Set; - import static org.assertj.core.api.Assertions.assertThat; public class UuidsTest { @Test public void create_unique() { - Set<String> all = Sets.newHashSet(); + Set<String> all = new HashSet<>(); for (int i = 0; i < 50; i++) { String uuid = Uuids.create(); assertThat(uuid).isNotEmpty(); |