Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-483

[DataHolder] Change hasValue semantic

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.5.0
    • 4.4.0
    • None
    • None
    • 4.5 M2

      There a 2 hasValue methods in DataHolder:

      • hasValue that returns true if there is a value, even empty
      • and hasNonEmptyValue that returns true if there is a non empty value, and false otherwise

      The most common use case is to figure out if there is a non empty value, so we should change these methods to have:

      • hasValue that returns true if there is a non empty value, and false otherwise
      • and hasValueOrEmpty that returns true if there is a value, even empty

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: