groovy
  1. groovy
  2. GROOVY-5149

Groovy should default to LinkedHashSet when using 'as Set' to make default sets deterministic

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.5, 2.0-beta-2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When creating sets using e.g. [] as Set Groovy should default to a LinkedHashSet. Users can still do 'as HashSet' to obtain the slightly more efficient but less deterministic HashSet.

        Activity

        Hide
        Paul King added a comment -
        Show
        Paul King added a comment - For further details see: http://groovy.markmail.org/thread/mnsj6ta3bqdog4hd
        Hide
        Paul King added a comment -

        Change made

        Show
        Paul King added a comment - Change made

          People

          • Assignee:
            Paul King
            Reporter:
            Paul King
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: