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) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 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
|
||||
|
@ -487,7 +487,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
|||
if (value instanceof TrustedCertEntry) {
|
||||
TrustedCertEntry tce = (TrustedCertEntry)value;
|
||||
if (tce.cert.equals(cert)) {
|
||||
throw new KeyStoreException("Keychain does not support mulitple copies of same certificate.");
|
||||
throw new KeyStoreException("Keychain does not support multiple copies of same certificate.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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
|
||||
|
@ -150,7 +150,7 @@ char *getMacOSXLocale(int cat) {
|
|||
* and script designators of BCP 47. So possible formats are:
|
||||
*
|
||||
* "en" (language designator only)
|
||||
* "haw" (3-letter lanuage designator)
|
||||
* "haw" (3-letter language designator)
|
||||
* "en-GB" (language with alpha-2 region designator)
|
||||
* "es-419" (language with 3-digit UN M.49 area code)
|
||||
* "zh-Hans" (language with ISO 15924 script designator)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 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
|
||||
|
@ -108,7 +108,7 @@ Java_sun_nio_fs_BsdNativeDispatcher_getfsstat(JNIEnv* env, jclass this)
|
|||
}
|
||||
|
||||
// It's possible that a new filesystem gets mounted between
|
||||
// the first getfsstat and the second so loop until consistant
|
||||
// the first getfsstat and the second so loop until consistent
|
||||
|
||||
while (nentries != iter->nentries) {
|
||||
if (iter->buf != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue