Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22491

Use Collections emptyList

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 4.0.0-alpha-1
    • None
    • None

    Description

      https://docs.oracle.com/javase/8/docs/api/?java/util/Collections.html

      Use Collections#emptyList instead of instantiating empty ArrayLists

      Attachments

        1. HIVE-22491.1.patch
          23 kB
          David Mollitor
        2. HIVE-22491.2.patch
          23 kB
          David Mollitor
        3. HIVE-22491.3.patch
          23 kB
          David Mollitor
        4. HIVE-22491.4.patch
          24 kB
          David Mollitor

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            belugabehr David Mollitor Assign to me
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment