mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8285485: Fix typos in corelibs
Reviewed-by: jpai, sundar, naoto, lancea
This commit is contained in:
parent
d8455a0ad4
commit
e68024c2d2
101 changed files with 295 additions and 295 deletions
|
@ -159,7 +159,7 @@ public class LogManager {
|
|||
// be able to see a partially constructed 'props' object.
|
||||
// (seeing a partially constructed 'props' object can result in
|
||||
// NPE being thrown in Hashtable.get(), because it leaves the door
|
||||
// open for props.getProperties() to be called before the construcor
|
||||
// open for props.getProperties() to be called before the constructor
|
||||
// of Hashtable is actually completed).
|
||||
private volatile Properties props = new Properties();
|
||||
private static final Level defaultLevel = Level.INFO;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 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
|
||||
|
@ -2511,7 +2511,7 @@ public class Logger {
|
|||
return lb;
|
||||
} else if (b != null) {
|
||||
// either lb.userBundle is null or getResourceBundle() is
|
||||
// overriden
|
||||
// overridden
|
||||
final String rbName = getResourceBundleName();
|
||||
return LoggerBundle.get(rbName, b);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 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
|
||||
|
@ -175,7 +175,7 @@ public class XMLFormatter extends Formatter {
|
|||
// date field, using the ISO_INSTANT formatter.
|
||||
DateTimeFormatter.ISO_INSTANT.formatTo(instant, sb);
|
||||
} else {
|
||||
// If useInstant is false - we will keep the 'old' formating
|
||||
// If useInstant is false - we will keep the 'old' formatting
|
||||
appendISO8601(sb, instant.toEpochMilli());
|
||||
}
|
||||
sb.append("</date>\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue