ilrt/caboto

Minor bug in caboto validation

Opened this issue · 0 comments

AnnotationValidator.java:

if (bodyValues == null || bodyValues.size() == 0) {
   errors.rejectValue(...);
                            }
// also check that there is at least one value
boolean passed = false;
for(String val: bodyValues) {

Note that bodyValues could be null and it will still check for at 
least one value.

Original issue reported on code.google.com by pl...@mac.com on 27 Jan 2010 at 11:28