< prev index next >

src/java.base/share/classes/java/util/Locale.java

Print this page

        

@@ -1922,11 +1922,11 @@
 
         LocaleResources lr = LocaleProviderAdapter
             .getResourceBundleBased()
             .getLocaleResources(inLocale);
 
-        String names[] = getDisplayVariantArray(inLocale);
+        String[] names = getDisplayVariantArray(inLocale);
 
         // Get the localized patterns for formatting a list, and use
         // them to format the list.
         return formatList(names,
                           lr.getLocaleName("ListCompositionPattern"));
< prev index next >