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

bring ArrayUtils.isEmpty to the generics world

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.0
    • lang.*
    • None

    Description

      maybe replace the current code by

      [code]
      public static <T> boolean isEmpty(T[] array)

      { return ((array == null) || (array.length == 0)); }

      [code]

      Attachments

        Activity

          People

            Unassigned Unassigned
            pino Pino Silvaggio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: