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

Stub generator should not use raw types when casting default return values

    Details

      Description

      Currently, for methods like:

      List<BuildListener> getBuildListeners() { ... }
      

      The stub generator generates:

      public List<BuildListener> getBuildListeners() { return (List)null; }
      

      Instead of returning:

      (List<BuildListeners>)null
      

        Attachments

          Activity

            People

            • Assignee:
              Guillaume Guillaume Delcroix
              Reporter:
              Guillaume Guillaume Delcroix
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: