struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject struts git commit: Makes createDispatcher protected to allow override it
Date Sun, 27 Nov 2016 12:14:39 GMT
Repository: struts
Updated Branches:
  refs/heads/master 6651089e8 -> 9cde17b22


Makes createDispatcher protected to allow override it


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/9cde17b2
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/9cde17b2
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/9cde17b2

Branch: refs/heads/master
Commit: 9cde17b22316b40c796c276cb130f930e7a0aea3
Parents: 6651089
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sun Nov 27 12:52:57 2016 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sun Nov 27 12:52:57 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/struts2/dispatcher/InitOperations.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/9cde17b2/core/src/main/java/org/apache/struts2/dispatcher/InitOperations.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/dispatcher/InitOperations.java b/core/src/main/java/org/apache/struts2/dispatcher/InitOperations.java
index 1b13cfc..6e2c52b 100644
--- a/core/src/main/java/org/apache/struts2/dispatcher/InitOperations.java
+++ b/core/src/main/java/org/apache/struts2/dispatcher/InitOperations.java
@@ -109,7 +109,7 @@ public class InitOperations {
      *
      * @return The dispatcher on the thread.
      */
-    private Dispatcher createDispatcher( HostConfig filterConfig ) {
+    protected Dispatcher createDispatcher(HostConfig filterConfig) {
         Map<String, String> params = new HashMap<>();
         for ( Iterator e = filterConfig.getInitParameterNames(); e.hasNext(); ) {
             String name = (String) e.next();


Mime
View raw message