addAll_to_constructor (#536)
This commit is contained in:
parent
367f39ee29
commit
6dd1cf3c6d
|
@ -115,8 +115,7 @@ public class ExtendedMessageFormatTest {
|
|||
final String extendedPattern = "Name: {0,upper} ";
|
||||
final String pattern = extendedPattern + builtinsPattern;
|
||||
|
||||
final HashSet<Locale> testLocales = new HashSet<>();
|
||||
testLocales.addAll(Arrays.asList(DateFormat.getAvailableLocales()));
|
||||
final HashSet<Locale> testLocales = new HashSet<>(Arrays.asList(DateFormat.getAvailableLocales()));
|
||||
testLocales.retainAll(Arrays.asList(NumberFormat.getAvailableLocales()));
|
||||
testLocales.add(null);
|
||||
|
||||
|
|
Loading…
Reference in New Issue