Repository: logging-log4j2
Updated Branches:
  refs/heads/master e78b1c0b1 -> 25c589574


[LOG4J2-957] Missing toUpperCase(Locale.ENGLISH).

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/25c58957
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/25c58957
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/25c58957

Branch: refs/heads/master
Commit: 25c589574e15d874ad3d2e77ab2ca41068d65e9d
Parents: e78b1c0
Author: Gary Gregory <[email protected]>
Authored: Fri Feb 20 08:16:04 2015 -0800
Committer: Gary Gregory <[email protected]>
Committed: Fri Feb 20 08:16:04 2015 -0800

----------------------------------------------------------------------
 log4j-api/src/main/java/org/apache/logging/log4j/Level.java | 2 +-
 src/changes/changes.xml                                     | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/25c58957/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java 
b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
index 268ef6b..3698682 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/Level.java
@@ -279,7 +279,7 @@ public final class Level implements Comparable<Level>, 
Serializable {
         if (name == null) {
             throw new NullPointerException("No level name given.");
         }
-        final String levelName = name.toUpperCase();
+        final String levelName = name.toUpperCase(Locale.ENGLISH);
         if (levels.containsKey(levelName)) {
             return levels.get(levelName);
         }

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/25c58957/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e87417b..fa9f3d7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -24,6 +24,9 @@
   </properties>
   <body>
     <release version="2.2" date="2015-??-??" description="GA Release 2.2">
+      <action issue="LOG4J2-957" dev="ggregory" type="fix" due-to="fatih 
guleryuz">
+        Missing toUpperCase("Locale.ENGLISH").
+      </action>
       <action issue="LOG4J2-955" dev="rpopma" type="update">
         Documentation: clarify system properties to control status logger, 
improve troubleshooting FAQ entry.
       </action>

Reply via email to