Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3448

UISelectOne.validateValue(...) optimised & refactored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.5
    • 2.0.13, 2.1.7
    • General
    • None

    Description

      The UISelectOne.validateValue(...) code is not particularly human-readable to say the least.
      Also, in the case of a match(the norm) the method this.isRequired() is called twice if it returns false.
      Patch attached. (100% tested for all permutations of match, isRequired & NoSelection)

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            apache@apconsult.de David Law
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: