bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject [14/50] bval git commit: TCK: handle default group redefinition sequence resolution ambiguities
Date Tue, 16 Oct 2018 17:35:15 GMT
TCK: handle default group redefinition sequence resolution ambiguities


Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/1413d124
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/1413d124
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/1413d124

Branch: refs/heads/master
Commit: 1413d12476e3b042f7b6d950eef0b512512beaae
Parents: f02b9b8
Author: Matt Benson <mbenson@apache.org>
Authored: Sat Mar 31 11:08:37 2018 -0500
Committer: Matt Benson <mbenson@apache.org>
Committed: Tue Oct 16 12:28:20 2018 -0500

----------------------------------------------------------------------
 bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/1413d124/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
----------------------------------------------------------------------
diff --git a/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java b/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
index e161879..f306d30 100644
--- a/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
+++ b/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
@@ -242,6 +242,8 @@ public abstract class ValidationJob<T> {
             if (Default.class.equals(group)) {
                 final List<Class<?>> groupSequence = descriptor.getGroupSequence();
                 if (groupSequence != null) {
+                    groups.assertDefaultGroupSequenceIsExpandable(
+                        groupSequence.stream().map(Group::new).collect(Collectors.toList()));
                     return groupSequence.stream();
                 }
             }


Mime
View raw message