This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/2.x by this push:
new 03213a31a9 Fix typo in `PatternParser` of `log4j-1.2-api` (#3617)
03213a31a9 is described below
commit 03213a31a97bee680917656f70be735dc2a1c0a3
Author: 강현욱 <[email protected]>
AuthorDate: Wed Apr 16 16:54:05 2025 +0900
Fix typo in `PatternParser` of `log4j-1.2-api` (#3617)
---
log4j-1.2-api/src/main/java/org/apache/log4j/helpers/PatternParser.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/PatternParser.java
b/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/PatternParser.java
index 2f51657a3e..36c1c79dcb 100644
--- a/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/PatternParser.java
+++ b/log4j-1.2-api/src/main/java/org/apache/log4j/helpers/PatternParser.java
@@ -316,7 +316,7 @@ public class PatternParser {
currentLiteral.setLength(0);
break;
default:
- LogLog.error("Unexpected char [" + c + "] at position " + i +
" in conversion patterrn.");
+ LogLog.error("Unexpected char [" + c + "] at position " + i +
" in conversion pattern.");
pc = new LiteralPatternConverter(currentLiteral.toString());
currentLiteral.setLength(0);
}