Use Collections.emptyIterator where applicable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 21
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b03

      Instead of Collections.emptyList().iterator() we can use Collections.emptyIterator() method.
      Actual implementation of java.util.Collections.EmptyList#iterator does exactly this - just calls emptyIterator method.

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

              Created:
              Updated:
              Resolved: