From 0fd21b5a9852cdd3dbbc2546b2f34f76ad5d1986 Mon Sep 17 00:00:00 2001 From: "Ivan Milosavljevic (TheJavaGuy)" Date: Mon, 23 Sep 2024 13:42:48 +0200 Subject: [PATCH] Fix typos --- .../logging/log4j/core/util/datetime/FastDatePrinter.java | 2 +- .../apache/logging/log4j/jul/test/Log4jBridgeHandlerTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java index f444c253509..96541cd57cd 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java @@ -457,7 +457,7 @@ private String applyRulesToString(final Calendar c) { } /** - * Creation method for new calender instances. + * Creation method for new calendar instances. * @return a new Calendar instance. */ private Calendar newCalendar() { diff --git a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/Log4jBridgeHandlerTest.java b/log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/Log4jBridgeHandlerTest.java index 2859cca1a69..1dd8833b82e 100644 --- a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/Log4jBridgeHandlerTest.java +++ b/log4j-jul/src/test/java/org/apache/logging/log4j/jul/test/Log4jBridgeHandlerTest.java @@ -393,7 +393,7 @@ private static void debugPrintJulLoggers(final String infoStr) { //////////////// //////////////// INTERNAL DEVELOPER TESTS follow - //////////////// (these are NOT neccessary for unit test but source is kept here for reference and info) + //////////////// (these are NOT necessary for unit test but source is kept here for reference and info) static { if (DEVTEST) {