Lets talk in the AM I must still be missing something.


http://gwt-code-reviews.appspot.com/1746803/diff/16002/user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
File
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java
(right):

http://gwt-code-reviews.appspot.com/1746803/diff/16002/user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java#newcode1612
user/src/com/google/gwt/validation/rebind/GwtSpecificValidatorCreator.java:1612:
if (hasMatchingAnnotation(p, useField, constraint)) {
Seems like here we can generate the write code with

if(hasMatchingAnnotation(p,useField,constraint) {
  if (!includedAnnotations.contains(annotation) ||
       hasMatchingAnnotation(p,!useField,constraint) {
  ...

http://gwt-code-reviews.appspot.com/1746803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to