struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts-site] branch master updated: Drops reference to @Validation() as not needed
Date Thu, 07 Feb 2019 06:11:45 GMT
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 581af66  Drops reference to @Validation() as not needed
581af66 is described below

commit 581af66e7859f7e0c432f1934a320a9ce30da341
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Thu Feb 7 07:11:41 2019 +0100

    Drops reference to @Validation() as not needed
---
 source/core-developers/validation-annotation.md | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/source/core-developers/validation-annotation.md b/source/core-developers/validation-annotation.md
index 89ab9e5..79aea0a 100644
--- a/source/core-developers/validation-annotation.md
+++ b/source/core-developers/validation-annotation.md
@@ -23,11 +23,9 @@ Validation annotation must be applied at Type level.
 
 ### An Annotated Interface
 
-- Mark the interface with `@Validation()`
 - Apply standard or custom annotations at method level
 
 ```java
- @Validation()
  public interface AnnotationDataAware {
 
      void setBarObj(Bar b);
@@ -46,7 +44,6 @@ Validation annotation must be applied at Type level.
 ### An Annotated Class
 
 ```java
- @Validation()
  public class SimpleAnnotationAction extends ActionSupport {
 
      @RequiredFieldValidator(type = ValidatorType.FIELD, message = "You must enter a value
for bar.")


Mime
View raw message