Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10412

Remove `UtilValidate::isEmpty(String)` method

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: base
    • Labels:
      None

      Description

      UtilValidate class contains a `isEmpty` method both for `CharSequence` and for `String` types but since the first is an interface for the other and that the implementation are the same we don't need to keep the one for the concrete type.

      Additionnaly I have removed the unused Generic type for the remaining implementation.

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: