Repository: bval
Updated Branches:
  refs/heads/bv2 ebcbeffac -> 25edc7585


BVAL-157 add a unit test for get() without name


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

Branch: refs/heads/bv2
Commit: 25edc7585c63dd710dfc25c535a67487cca48707
Parents: ebcbeff
Author: Mark Struberg <[email protected]>
Authored: Sat Jun 9 10:10:15 2018 +0200
Committer: Mark Struberg <[email protected]>
Committed: Sat Jun 9 10:10:15 2018 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/bval/jsr/example/Book.java     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/25edc758/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
----------------------------------------------------------------------
diff --git a/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java 
b/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
index e548c9a..7782b3d 100644
--- a/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
+++ b/bval-jsr/src/test/java/org/apache/bval/jsr/example/Book.java
@@ -78,4 +78,13 @@ public class Book {
     @GroupSequence(value = { First.class, Second.class, Last.class })
     public interface All {
     }
+
+    /**
+     * a get() without any name blew up with a failure.
+     * See BVAL-157
+     */
+    public int get() {
+        return 42;
+    }
+
 }
\ No newline at end of file

Reply via email to