mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
parent
4594696f54
commit
fb469fb894
162 changed files with 369 additions and 369 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -97,7 +97,7 @@ public class PropertyResourceBundleCharset extends Charset {
|
|||
}
|
||||
|
||||
// Invalid or unmappable UTF-8 sequence detected.
|
||||
// Switching to the ISO 8859-1 decorder.
|
||||
// Switching to the ISO 8859-1 decoder.
|
||||
assert cr.isMalformed() || cr.isUnmappable();
|
||||
in.reset();
|
||||
out.reset();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -177,7 +177,7 @@ final class CollationRules {
|
|||
+ "<\u00b4" // acute accent (spacing)
|
||||
+ "<'\u0060'" // grave accent (spacing)
|
||||
+ "<'\u005e'" // circumflex accent (spacing)
|
||||
+ "<\u00a8" // diaresis/umlaut accent (spacing)
|
||||
+ "<\u00a8" // diaeresis/umlaut accent (spacing)
|
||||
+ "<'\u007e'" // tilde accent (spacing)
|
||||
+ "<\u00b7" // middle dot (spacing)
|
||||
+ "<\u00b8" // cedilla accent (spacing)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -511,7 +511,7 @@ public class JRELocaleProviderAdapter extends LocaleProviderAdapter implements R
|
|||
private static Locale[] createAvailableLocales() {
|
||||
/*
|
||||
* Gets the locale string list from LocaleDataMetaInfo classes and then
|
||||
* contructs the Locale array and a set of language tags based on the
|
||||
* constructs the Locale array and a set of language tags based on the
|
||||
* locale string returned above.
|
||||
*/
|
||||
String supportedLocaleString = createSupportedLocaleString("AvailableLocales");
|
||||
|
|
|
@ -366,7 +366,7 @@ public class LocaleResources {
|
|||
String[][] getZoneStrings() {
|
||||
TimeZoneNamesBundle rb = localeData.getTimeZoneNames(locale);
|
||||
Set<String> keyset = getZoneIDs();
|
||||
// Use a LinkedHashSet to preseve the order
|
||||
// Use a LinkedHashSet to preserve the order
|
||||
Set<String[]> value = new LinkedHashSet<>();
|
||||
Set<String> tzIds = new HashSet<>(Arrays.asList(TimeZone.getAvailableIDs()));
|
||||
for (String key : keyset) {
|
||||
|
|
|
@ -243,7 +243,7 @@ public final class LocaleServiceProviderPool {
|
|||
* @param getter an object on which getObject() method
|
||||
* is called to obtain the provider's instance.
|
||||
* @param locale the given locale that is used as the starting one
|
||||
* @param isObjectProvider flag designating object provder or not
|
||||
* @param isObjectProvider flag designating object provider or not
|
||||
* @param key the key string for name providers
|
||||
* @param params provider specific parameters
|
||||
* @return provider's instance, or null.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue