Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66839

API Validator.isBlank was not defined correctly

Details

    • 3

    Description

      The API com.liferay.portal.kernel.util.Validator.isBlank(String s) return falsy for spaces only value.

      To my understanding, isBlank should return truthy for spaces only value. It is the isEmpty that should return falsy for this case. Can we change the API implementation or change method name.

      BRs,
      Carter

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            didxga Carter Chen (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              13 weeks, 5 days ago

              Packages

                Version Package