mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
Removes unneeded validation annotation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1499265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -30,7 +30,6 @@ import com.opensymphony.xwork2.mock.MockActionProxy;
|
||||
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 JSONValidationInterceptorTest extends StrutsTestCase {
|
||||
invocation.setProxy(proxy);
|
||||
}
|
||||
|
||||
@Validation
|
||||
public static class TestAction extends ActionSupport {
|
||||
private String text = "x";
|
||||
private int value = -10;
|
||||
|
||||
Reference in New Issue
Block a user