8285485: Fix typos in corelibs

Reviewed-by: jpai, sundar, naoto, lancea
This commit is contained in:
Magnus Ihse Bursie 2022-05-17 12:10:48 +00:00
parent d8455a0ad4
commit e68024c2d2
101 changed files with 295 additions and 295 deletions

View file

@ -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;

View file

@ -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);
}

View file

@ -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");