Author: lukaszlenart
Date: Wed Jul  3 08:44:46 2013
New Revision: 1499265

URL: http://svn.apache.org/r1499265
Log:
Removes unneeded validation annotation

Modified:
    
struts/struts2/trunk/plugins/json/src/test/java/org/apache/struts2/json/JSONValidationInterceptorTest.java

Modified: 
struts/struts2/trunk/plugins/json/src/test/java/org/apache/struts2/json/JSONValidationInterceptorTest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/json/src/test/java/org/apache/struts2/json/JSONValidationInterceptorTest.java?rev=1499265&r1=1499264&r2=1499265&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/json/src/test/java/org/apache/struts2/json/JSONValidationInterceptorTest.java
 (original)
+++ 
struts/struts2/trunk/plugins/json/src/test/java/org/apache/struts2/json/JSONValidationInterceptorTest.java
 Wed Jul  3 08:44:46 2013
@@ -30,7 +30,6 @@ import com.opensymphony.xwork2.mock.Mock
 import com.opensymphony.xwork2.validator.annotations.EmailValidator;
 import com.opensymphony.xwork2.validator.annotations.IntRangeFieldValidator;
 import 
com.opensymphony.xwork2.validator.annotations.StringLengthFieldValidator;
-import com.opensymphony.xwork2.validator.annotations.Validation;
 import org.apache.struts2.StrutsStatics;
 import org.apache.struts2.StrutsTestCase;
 import 
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor;
@@ -154,7 +153,6 @@ public class JSONValidationInterceptorTe
         invocation.setProxy(proxy);
     }
 
-    @Validation
     public static class TestAction extends ActionSupport {
         private String text = "x";
         private int value = -10;


Reply via email to