Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      Validator doesn't contain support for enforcing numeric values are atleast
      (i.e. min) a specified value nor does is contain support for enforcing numeric
      values are below a value (i.e. max). It would be nice to add this to the
      existing range checks

        Issue Links

          Activity

          Hide
          Jon Wilmoth added a comment -

          Created an attachment (id=11567)
          patch against 5/12/2004 head with minValue and maxValue methods

          Show
          Jon Wilmoth added a comment - Created an attachment (id=11567) patch against 5/12/2004 head with minValue and maxValue methods
          Hide
          David Graham added a comment -

          The methods should accept primitive numeric types instead of their wrapper
          classes for more flexibility. If the user has floats they can't use these
          methods without creating a wrapper object first. However, a user with Floats
          can always call Float.floatValue() to pass into the validation method.

          Show
          David Graham added a comment - The methods should accept primitive numeric types instead of their wrapper classes for more flexibility. If the user has floats they can't use these methods without creating a wrapper object first. However, a user with Floats can always call Float.floatValue() to pass into the validation method.
          Hide
          Jon Wilmoth added a comment -

          Created an attachment (id=11571)
          patch against 5/12/2004 head with minValue and maxValue methods accepting primitives

          Show
          Jon Wilmoth added a comment - Created an attachment (id=11571) patch against 5/12/2004 head with minValue and maxValue methods accepting primitives
          Hide
          Ted Husted added a comment -

          I applied this patch to add the "value" methods. Do we also need a patch to
          implement the use of the value methods?

          Show
          Ted Husted added a comment - I applied this patch to add the "value" methods. Do we also need a patch to implement the use of the value methods?

            People

            • Assignee:
              Unassigned
              Reporter:
              Jon Wilmoth
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development