incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1031256 - /incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java
Date Thu, 04 Nov 2010 21:22:57 GMT
Author: mbenson
Date: Thu Nov  4 21:22:57 2010
New Revision: 1031256

URL: http://svn.apache.org/viewvc?rev=1031256&view=rev
Log:
remove unused work

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java?rev=1031256&r1=1031255&r2=1031256&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303d/src/main/java/org/apache/bval/constraints/dynamic/AbstractValuesConstraintAppender.java
Thu Nov  4 21:22:57 2010
@@ -32,7 +32,6 @@ import java.util.Set;
 
 import javax.validation.ConstraintDefinitionException;
 import javax.validation.Payload;
-import javax.validation.groups.Default;
 
 import org.apache.bval.constraints.dynamic.Values.Strategy;
 import org.apache.bval.constraints.dynamic.Values.Rule;
@@ -135,10 +134,6 @@ public abstract class AbstractValuesCons
             Strategy strategy = getStrategy(constraint);
 
             List<V> constraintValue = Arrays.asList(getConstraintValue(constraint));
-            Class<?>[] groups = getGroups(constraint);
-            if (groups.length == 0) {
-                groups = new Class[] { Default.class };
-            }
             for (Class<?> group : getGroups(constraint)) {
                 CumulativeValues includes = null;
                 CumulativeValues excludes = null;



Mime
View raw message