Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This source file:
interface Foo { }
when 'reprinted' via the groovyConsole shows up as:
abstract interface public class Foo extends java.lang.Object { }
We don't need to have both 'interface' and 'class' and the modifier order should follow the JLS recommendations.
In some sense this is a trviial change but we do have numerous tests which output the resulting source and check the value. We'll need to refactor those.
It is a breaking change only if the old source order was being relied upon.
Attachments
Issue Links
- links to