bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject [bval] 03/50: unnecessary bound
Date Mon, 10 Jun 2019 05:01:57 GMT
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to tag 0.4
in repository https://gitbox.apache.org/repos/asf/bval.git

commit b6151515b6923d21bbcd77db2c0d98c6f46ad8d0
Author: mbenson <mbenson@13f79535-47bb-0310-9956-ffa450edef68>
AuthorDate: Sat Mar 24 04:04:20 2012 +0000

    unnecessary bound
    
    git-svn-id: http://svn.apache.org/repos/asf/bval/trunk@1304703 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/bval/jsr303/extensions/AppendValidationToList.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
b/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
index 09631aa..602f27c 100644
--- a/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
+++ b/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
@@ -30,7 +30,7 @@ import java.util.List;
  * cache of validations for further processing.<br/>
  */
 public class AppendValidationToList extends BaseAppendValidation {
-    private final List<ConstraintValidation<? extends Annotation>> validations
= new ArrayList<ConstraintValidation<? extends Annotation>>();
+    private final List<ConstraintValidation<?>> validations = new ArrayList<ConstraintValidation<?>>();
 
     /**
      * Create a new AppendValidationToList instance.
@@ -49,7 +49,7 @@ public class AppendValidationToList extends BaseAppendValidation {
      * Get the list of cached validations.
      * @return {@link List} of {@link ConstraintValidation}
      */
-    public List<ConstraintValidation<? extends Annotation>> getValidations()
{
+    public List<ConstraintValidation<?>> getValidations() {
         return validations;
     }
 }


Mime
View raw message