You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rg...@apache.org on 2018/11/24 04:19:02 UTC
[logging-log4j2] branch release-2.x updated: LOG4J-2514 - Make
Strings.toRootUpperCase static
This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new 50f0f48 LOG4J-2514 - Make Strings.toRootUpperCase static
50f0f48 is described below
commit 50f0f48df633cfdecec94adfbd4d8f15fef70380
Author: Ralph Goers <rg...@apache.org>
AuthorDate: Fri Nov 23 21:18:52 2018 -0700
LOG4J-2514 - Make Strings.toRootUpperCase static
---
log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java | 2 +-
src/changes/changes.xml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java
index 37a3e61..e7b92a1 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/Strings.java
@@ -269,7 +269,7 @@ public final class Strings {
* @return a new string
* @see String#toLowerCase(Locale)
*/
- public String toRootUpperCase(final String str) {
+ public static String toRootUpperCase(final String str) {
return str.toUpperCase(Locale.ROOT);
}
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 25fbba5..170d242 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -31,6 +31,9 @@
- "remove" - Removed
-->
<release version="2.11.2" date="2018-MM-DD" description="GA Release 2.11.2">
+ <action issue="LOG4J2-2514" dev="rgoers" type="fix" due-to="smilebrian0515">
+ Make Strings.toRootUpperCase a static method so it can be accessed.
+ </action>
<action issue="LOG4J2-1571" dev="rgoers" type="fix" due-to="torbenmoeller">
Fixed Appenders section in Extending Log4j.
</action>