~lsinger/play/1.1

« back to all changes in this revision

Viewing changes to framework/src/play/data/validation/MatchCheck.java

  • Committer: guillaume
  • Date: 2009-12-22 18:42:34 UTC
  • mto: (725.1.2 play_1.1) (619.1.150 1.0)
  • mto: This revision was merged to the branch mainline in revision 713.
  • Revision ID: guillaume@gbo-mac-20091222184234-3ze1uucryo2ogby3
Fix Bug #499482

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    }
20
20
 
21
21
    public boolean isSatisfied(Object validatedObject, Object value, OValContext context, Validator validator) {
 
22
        requireMessageVariablesRecreation();
22
23
        if (value == null || value.toString().length() == 0) {
23
24
            return true;
24
25
        }