]> source.dussan.org Git - vaadin-framework.git/commit
Extract validation availability check out of BeanValidator (#251).
authorDenis Anisimov <denis@vaadin.com>
Sun, 18 Sep 2016 06:53:39 +0000 (09:53 +0300)
committerDenis Anisimov <denis@vaadin.com>
Fri, 23 Sep 2016 11:08:56 +0000 (11:08 +0000)
commit0b5e2f34690a2a0f090a93ea1a63475a22ac3d13
treea859f64029b513ee0c756e2b736d60fe2321dbab
parentcef5b51d3ff0792ab0a8a8423549dbff79e3027b
Extract validation availability check out of BeanValidator (#251).

BeanValidator uses and depends on javax.validation classes. So JSR303
presence check is extracted out of it to avoid ClassNotFoundException.

Change-Id: I8df9a9da873cf694a326c9abb05315c8e94a0a96
server/src/main/java/com/vaadin/data/BeanBinder.java
server/src/main/java/com/vaadin/data/util/BeanUtil.java
server/src/main/java/com/vaadin/data/validator/BeanValidator.java
server/src/test/java/com/vaadin/data/Jsr303Test.java [new file with mode: 0644]