Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7001

generics info can be improved for DGM methods with a collector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0-beta-2
    • 4.0.0-rc-1, 3.0.21
    • groovy-jdk
    • None

    Description

      Methods which take a collector, e.g. some of the collect variants, can use C extends Collector<T> for the return type and the collector's type rather than just Collector<T>.

      Attachments

        Issue Links

          Activity

            People

              emilles Eric Milles
              paulk Paul King
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m