You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2014/09/04 18:05:55 UTC

git commit: Fix boxing warning, no need to box here.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master 28e1062f1 -> ca5f91d76


Fix boxing warning, no need to box here.

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

Branch: refs/heads/master
Commit: ca5f91d76a099a9ffc8cb5e8ae1f2a7f0a3ebff3
Parents: 28e1062
Author: Gary Gregory <ga...@gmail.com>
Authored: Thu Sep 4 12:05:42 2014 -0400
Committer: Gary Gregory <ga...@gmail.com>
Committed: Thu Sep 4 12:05:42 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/logging/log4j/web/Log4jServletFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/ca5f91d7/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletFilter.java
----------------------------------------------------------------------
diff --git a/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletFilter.java b/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletFilter.java
index 769f891..c55804f 100644
--- a/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletFilter.java
+++ b/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jServletFilter.java
@@ -59,7 +59,7 @@ public class Log4jServletFilter implements Filter {
         if (request.getAttribute(ALREADY_FILTERED_ATTRIBUTE) != null) {
             chain.doFilter(request, response);
         } else {
-            request.setAttribute(ALREADY_FILTERED_ATTRIBUTE, true);
+            request.setAttribute(ALREADY_FILTERED_ATTRIBUTE, Boolean.TRUE);
 
             try {
                 this.initializer.setLoggerContext();