Author: lukaszlenart
Date: Wed Dec  5 10:17:35 2012
New Revision: 1417339

URL: http://svn.apache.org/viewvc?rev=1417339&view=rev
Log:
WW-3927 corrects developer notification

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=1417339&r1=1417338&r2=1417339&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 Dec  5 10:17:35 2012
@@ -411,11 +411,12 @@ public class ParametersInterceptor exten
             for (Pattern pattern : excludeParams) {
                 Matcher matcher = pattern.matcher(paramName);
                 if (matcher.matches()) {
+                    notifyDeveloper("Parameter [#0] is on the excludeParams 
list of patterns!", paramName);
                     return true;
                 }
             }
         }
-        notifyDeveloper("Parameter [#0] is on the excludeParams list of 
patterns!", paramName);
+        notifyDeveloper("Parameter [#0] is not on the excludeParams list of 
patterns and will be appended to action!", paramName);
         return false;
     }
 


Reply via email to