- Timestamp:
- 2020-03-17T20:55:51+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolutionUtilTest.java
r16161 r16164 36 36 public JOSMTestRules test = new JOSMTestRules(); 37 37 38 @SafeVarargs 39 private static <T> HashSet<T> newHashSet(T... values) { 38 private static HashSet<String> newHashSet(String... values) { 40 39 return Arrays.stream(values).collect(Collectors.toCollection(HashSet::new)); 41 40 } … … 387 386 assertEquals(group1.key, choiceKey1Group1.key); 388 387 assertEquals(group1.group, choiceKey1Group1.group); 389 assertEquals(new HashSet<>(group1.choices), new HashSet(choiceKey1Group1, choiceKey1Group1bis));388 assertEquals(new HashSet<>(group1.choices), new HashSet<>(Arrays.asList(choiceKey1Group1, choiceKey1Group1bis))); 390 389 391 390 groups = AutomaticChoiceGroup.groupChoices(Arrays.asList(
Note:
See TracChangeset
for help on using the changeset viewer.