svn commit: r1506419 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java

2013-07-24 Thread lukaszlenart
Author: lukaszlenart
Date: Wed Jul 24 07:00:37 2013
New Revision: 1506419

URL: http://svn.apache.org/r1506419
Log:
Adds braces for better visibility

Modified:

struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java

Modified: 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java?rev=1506419&r1=1506418&r2=1506419&view=diff
==
--- 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java
 (original)
+++ 
struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java
 Wed Jul 24 07:00:37 2013
@@ -303,12 +303,13 @@ public class ParametersInterceptor exten
 MemberAccessValueStack accessValueStack = (MemberAccessValueStack) 
newStack;
 accessValueStack.setAcceptProperties(acceptParams);
 accessValueStack.setExcludeProperties(excludeParams);
-if (action instanceof ParameterNameAware)
-accessValueStack.setPropertiesJudge(new PropertiesJudge() {
-public boolean acceptProperty(String propertyName) {
-return ((ParameterNameAware) 
action).acceptableParameterName(propertyName);
-}
-});
+if (action instanceof ParameterNameAware) {
+accessValueStack.setPropertiesJudge(new PropertiesJudge() {
+public boolean acceptProperty(String propertyName) {
+return ((ParameterNameAware) 
action).acceptableParameterName(propertyName);
+}
+});
+}
 }
 
 for (Map.Entry entry : 
acceptableParameters.entrySet()) {




svn commit: r870943 - /websites/production/struts/content/development/2.x/docs/

2013-07-24 Thread lukaszlenart
Author: lukaszlenart
Date: Wed Jul 24 07:00:26 2013
New Revision: 870943

Log:
Updates draft docs

Added:

websites/production/struts/content/development/2.x/docs/version-notes-23120.html
Modified:

websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html
websites/production/struts/content/development/2.x/docs/guides.html
websites/production/struts/content/development/2.x/docs/migration-guide.html
websites/production/struts/content/development/2.x/docs/struts-2-themes.html
websites/production/struts/content/development/2.x/docs/tiles-plugin.html

websites/production/struts/content/development/2.x/docs/version-notes-2312.html

websites/production/struts/content/development/2.x/docs/version-notes-2314.html

Modified: 
websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html
==
--- 
websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html
 (original)
+++ 
websites/production/struts/content/development/2.x/docs/coding-struts-2-actions.html
 Wed Jul 24 07:00:26 2013
@@ -38,6 +38,7 @@ under the License. 
 
 
 
+
 
 
 SyntaxHighlighter.defaults['toolbar'] = false;

Modified: websites/production/struts/content/development/2.x/docs/guides.html
==
--- websites/production/struts/content/development/2.x/docs/guides.html 
(original)
+++ websites/production/struts/content/development/2.x/docs/guides.html Wed Jul 
24 07:00:26 2013
@@ -215,7 +215,7 @@ under the License. 
 
 

Version Notes 2.3.x

- +