Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1458

Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.10
    • None
    • None

    Description

      Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple:

      org.apache.commons.lang3.tuple.ImmutablePair.EMPTY_ARRAY
      org.apache.commons.lang3.tuple.ImmutableTriple.EMPTY_ARRAY
      org.apache.commons.lang3.tuple.MutablePair.EMPTY_ARRAY
      org.apache.commons.lang3.tuple.MutableTriple.EMPTY_ARRAY

      Add methods emptyArray() on each class above that use generics to avoid generics compiler warnings.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: