You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rp...@apache.org on 2016/08/23 13:41:08 UTC

[11/22] logging-log4j2 git commit: @deprecated Use {@link WebLoggerContextUtils#getServletContext()}.

@deprecated Use {@link WebLoggerContextUtils#getServletContext()}.

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

Branch: refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: 98972e5d1a5f8a18b02c5aa3bcc474dfe4629b16
Parents: cee9414
Author: Gary Gregory <gg...@apache.org>
Authored: Mon Aug 22 22:37:41 2016 -0700
Committer: Gary Gregory <gg...@apache.org>
Committed: Mon Aug 22 22:37:41 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/logging/log4j/web/WebLookup.java    | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/98972e5d/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java
----------------------------------------------------------------------
diff --git a/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java b/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java
index 072f6c9..aa6d141 100644
--- a/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java
+++ b/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLookup.java
@@ -30,14 +30,6 @@ public class WebLookup extends AbstractLookup {
     private static final String ATTR_PREFIX = "attr.";
     private static final String INIT_PARAM_PREFIX = "initParam.";
 
-    /**
-     * @deprecated Use {@link WebLoggerContextUtils#getServletContext()}.
-     */
-    @Deprecated
-    protected ServletContext getServletContext() {
-        return WebLoggerContextUtils.getServletContext();
-    }
-
     @Override
     public String lookup(final LogEvent event, final String key) {
         final ServletContext ctx = WebLoggerContextUtils.getServletContext();