roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [02/35] roller git commit: Turn on strict-method-invocation for 5.2.0 release.
Date Mon, 06 Nov 2017 22:17:03 GMT
Turn on strict-method-invocation for 5.2.0 release.


Project: http://git-wip-us.apache.org/repos/asf/roller/repo
Commit: http://git-wip-us.apache.org/repos/asf/roller/commit/4fd2e375
Tree: http://git-wip-us.apache.org/repos/asf/roller/tree/4fd2e375
Diff: http://git-wip-us.apache.org/repos/asf/roller/diff/4fd2e375

Branch: refs/heads/master
Commit: 4fd2e3757ab9a30f1e99207e56058afe70296071
Parents: d80b728
Author: Dave Johnson <snoopdave@gmail.com>
Authored: Sun Jul 23 13:17:27 2017 -0400
Committer: Dave Johnson <snoopdave@gmail.com>
Committed: Sun Jul 23 13:17:27 2017 -0400

----------------------------------------------------------------------
 app/src/main/resources/struts.xml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/roller/blob/4fd2e375/app/src/main/resources/struts.xml
----------------------------------------------------------------------
diff --git a/app/src/main/resources/struts.xml b/app/src/main/resources/struts.xml
index fd24563..abe78ee 100644
--- a/app/src/main/resources/struts.xml
+++ b/app/src/main/resources/struts.xml
@@ -1,10 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE struts PUBLIC
-    "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
-    "http://struts.apache.org/dtds/struts-2.3.dtd">
+        "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
+        "http://struts.apache.org/dtds/struts-2.5.dtd">
 <struts>
     
     <!-- Weblogger default package -->
-    <package name="weblogger" namespace="/roller-ui" extends="struts-default">
+    <package name="weblogger" namespace="/roller-ui" extends="struts-default" strict-method-invocation="false">
         
         <!-- Define Tiles result type -->
         <result-types>
@@ -142,8 +143,7 @@
     
     
     <!-- Weblogger install/bootstrap actions -->
-    <package name="weblogger-install" namespace="/roller-ui/install" extends="weblogger">
-    
+    <package name="weblogger-install" namespace="/roller-ui/install" extends="weblogger"
strict-method-invocation="false">
         <action name="install"
                 class="org.apache.roller.weblogger.ui.struts2.core.Install">
             <result name="database_error" type="tiles">.DatabaseError</result>
@@ -157,7 +157,7 @@
     
     
     <!-- Weblogger Admin UI (includes planet) -->
-    <package name="weblogger-admin" namespace="/roller-ui/admin" extends="weblogger">
+    <package name="weblogger-admin" namespace="/roller-ui/admin" extends="weblogger" strict-method-invocation="false">
         
         <action name="globalConfig!*" method="{1}"
                 class="org.apache.roller.weblogger.ui.struts2.admin.GlobalConfig">
@@ -245,7 +245,7 @@
     
     
     <!-- Weblogger Authoring UI -->
-    <package name="weblogger-authoring" namespace="/roller-ui/authoring" extends="weblogger">
+    <package name="weblogger-authoring" namespace="/roller-ui/authoring" extends="weblogger"
strict-method-invocation="false">
 
         <action name="mediaFileAdd!*" method="{1}"
                 class="org.apache.roller.weblogger.ui.struts2.editor.MediaFileAdd">
@@ -532,7 +532,7 @@
 
     <!-- Weblogger Authoring UI - overlay pages-->
     
-    <package name="weblogger-authoring-overlay" namespace="/roller-ui/authoring/overlay"
extends="weblogger-authoring">
+    <package name="weblogger-authoring-overlay" namespace="/roller-ui/authoring/overlay"
extends="weblogger-authoring" strict-method-invocation="false">
 
         <action name="mediaFileAdd!*" method="{1}"
                 class="org.apache.roller.weblogger.ui.struts2.editor.MediaFileAdd">


Mime
View raw message