Commons Lang
  1. Commons Lang
  2. LANG-533

Validate: support for validating blank strings

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 3.0
    • Component/s: lang.*
    • Labels:
      None

      Description

      Validate class lacks of blank string (not null and not whitespace) validation, based on StringUtils#isBlank. There is only notEmpty method, which does not trim examined string. Example implementation with javadocs attached.

      1. LANG-533.patch
        9 kB
        Tomasz Nurkiewicz

        Activity

        Tomasz Nurkiewicz created issue -
        Tomasz Nurkiewicz made changes -
        Field Original Value New Value
        Attachment notBlank.java [ 12420055 ]
        Henri Yandell made changes -
        Fix Version/s 3.0 [ 12311714 ]
        Tomasz Nurkiewicz made changes -
        Attachment LANG-533.patch [ 12420652 ]
        Tomasz Nurkiewicz made changes -
        Attachment notBlank.java [ 12420055 ]
        Henri Yandell made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Henri Yandell made changes -
        Component/s lang.* [ 12313203 ]
        Mark Thomas made changes -
        Workflow jira [ 12477388 ] Default workflow, editable Closed status [ 12602605 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Tomasz Nurkiewicz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development