Redundant null comparison after Pattern.split

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 18
    • Affects Version/s: 16, 17
    • Component/s: core-libs
    • None
    • b25

      In couple of classes, result part of arrays of Pattern.split is compared with `null`.
      Pattern.split (and hence String.split) never returns `null` in array elements. Such comparisons are redundant.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: