You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2014/02/19 07:30:12 UTC
[11/14] git commit: Removes commented out if statment
Removes commented out if statment
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/8be797fc
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/8be797fc
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/8be797fc
Branch: refs/heads/develop
Commit: 8be797fccdd97cb53206892fe34862f3e7cf77d6
Parents: 4da2ec6
Author: Lukasz Lenart <lu...@apache.org>
Authored: Tue Feb 18 07:58:26 2014 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Tue Feb 18 07:58:26 2014 +0100
----------------------------------------------------------------------
core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/8be797fc/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
index 863c94b..d45f706 100644
--- a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
+++ b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java
@@ -479,9 +479,7 @@ public class Dispatcher {
l.dispatcherInitialized(this);
}
}
- //if (servletContext != null) {
- errorHandler.init(servletContext);
- //}
+ errorHandler.init(servletContext);
} catch (Exception ex) {
if (LOG.isErrorEnabled())