You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/10/08 04:17:56 UTC

[4/4] git commit: Fix javadoc @throws.

Fix javadoc @throws.


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

Branch: refs/heads/master
Commit: b2a8b24b17ff7e9bcdba0057648f225fada6e4b8
Parents: 975b86a
Author: Matt Sicker <ma...@apache.org>
Authored: Tue Oct 7 21:17:01 2014 -0500
Committer: Matt Sicker <ma...@apache.org>
Committed: Tue Oct 7 21:17:01 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/b2a8b24b/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLoggerContextUtils.java
----------------------------------------------------------------------
diff --git a/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLoggerContextUtils.java b/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLoggerContextUtils.java
index 470cd0d..c12e19b 100644
--- a/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLoggerContextUtils.java
+++ b/log4j-web/src/main/java/org/apache/logging/log4j/web/WebLoggerContextUtils.java
@@ -43,7 +43,6 @@ public final class WebLoggerContextUtils {
      *
      * @param servletContext the ServletContext to locate a LoggerContext for
      * @return the LoggerContext for the given ServletContext
-     * @throws java.lang.IllegalStateException if no LoggerContext could be found on the given ServletContext
      * @since 2.0.1
      */
     public static LoggerContext getWebLoggerContext(final ServletContext servletContext) {
@@ -55,6 +54,7 @@ public final class WebLoggerContextUtils {
      *
      * @param servletContext the ServletContext to locate a LoggerContext for
      * @return the LoggerContext for the given ServletContext or {@code null} if none was set
+     * @throws java.lang.IllegalStateException if no LoggerContext could be found on the given ServletContext
      * @since 2.0.1
      */
     public static LoggerContext getRequiredWebLoggerContext(final ServletContext servletContext) {