Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8346251

Add isBlank() and isNotBlank() methods to StringExpression

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The javafx.beans.binding.StringExpression class has the methods isEmpty() and isNotEmpty() which are based on the java.lang.String.isEmpty() method. There should be similar isBlank() and isNotBlank() methods for StringExpression based on the String.isBlank() method added in Java 11.

      To be consistent, these methods should be accompanied by isBlank(ObservableStringValue) and isNotBlank(ObservableStringValue) methods in the javafx.beans.binding.Bindings class.


            kcr Kevin Rushforth
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: