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

    • Fix Priority:
      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

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            didxga Carter Chen
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              5 years, 14 weeks ago

                Packages

                Version Package