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

javax.faces.validator - DoubleRangeValidator, LengthValidator, LongRangeValidator are very similar, refactor common behaviour

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.4
    • 1.1.5
    • JSR-127
    • None

    Description

      The 3 classes are very similar to each other except the type of minimum and maximum (and value of course). Therefore I'll suggest extracting the common behaviour in common parent class.

      Attachments

        1. validator.patch
          25 kB
          Nikolay Petrov

        Activity

          People

            mmarinschek Martin Marinschek
            ingon Nikolay Petrov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: