replace "".equals(s) with s != null and s.isEmpty()

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 13
    • Component/s: core-libs

      The idiom "".equals(str) could be more efficient if replaced with a usage
      that can uses String.isEmpty.

      Check for null is important and there might be reason to create a utility method for the purpose.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: