Github user jwagenleitner commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/544#discussion_r117615134
  
    --- Diff: src/main/org/codehaus/groovy/transform/trait/Traits.java ---
    @@ -355,19 +355,19 @@ static String getSuperTraitMethodName(ClassNode 
trait, String method) {
          */
         @Retention(RetentionPolicy.RUNTIME)
         @Target(ElementType.METHOD)
    -    public static @interface Implemented {}
    +    public @interface Implemented {}
     
         /**
          * Internal annotation used to indicate that a method is a bridge 
method to a trait
          * default implementation.
          */
         @Retention(RetentionPolicy.RUNTIME)
         @Target(ElementType.METHOD)
    -     public static @interface TraitBridge {
    --- End diff --
    
    The `static` modifier is redundant on inner interfaces. The bytecode will 
remain unchanged with or without the modifier so the code referenced should 
continue to work.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to