Skip to content

Commit ab713be

Browse files
committed
Updated JDK and Locale handling in Unit Tests
1 parent 2478ea7 commit ab713be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

moneta-core/src/test/java/org/javamoney/moneta/spi/format/DefaultMonetaryAmountFormatTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright (c) 2012, 2020, Anatole Tresch, Werner Keil and others by the @author tag.
2+
* Copyright (c) 2012, 2025, Werner Keil and others by the @author tag.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
55
* use this file except in compliance with the License. You may obtain a copy of
@@ -157,7 +157,7 @@ public void testParseDifferentStyles() {
157157
final String[] skipLangArray = {"as", "ar", "bn", "ckb", "dz", "fa", "ig", "ks", "lrc",
158158
"mni", "mr", "my", "mzn", "ne", "pa", "ps", "sa", "sat", "sd", "th", "ur", "uz", "raj", "bgc", "bho"};
159159
final Set<String> SKIPPED_LANGUAGES = new HashSet<>(Arrays.asList(skipLangArray));
160-
final Locale[] locArray = new Locale[]{new Locale("dz", "BT")
160+
final Locale[] locArray = new Locale[]{new Locale.Builder().setLanguage("dz").setRegion("BT").build()
161161
};
162162
final Set<Locale> SKIPPED_LOCALES = new HashSet<>(Arrays.asList(locArray));
163163

0 commit comments

Comments
 (0)