[ 
https://issues.apache.org/jira/browse/AVRO-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anatoly Kupriyanov updated AVRO-3044:
-------------------------------------
    Description: 
This is very similar to AVRO-2298

The protocol has interface

 

{{@org.apache.avro.specific.AvroGenerated}}
 {{public interface SomeProto {}}
 {{  public static final org.apache.avro.Protocol PROTOCOL = .....}}

*{{// here it should also have @}}{{AvroGenerated}}*{{}}
 {{  @SuppressWarnings("all")}}
 {{  public interface Callback extends SomeProto {}}
 {{  public static final org.apache.avro.Protocol PROTOCOL = 
com.my.SomeProto.PROTOCOL;}}
 \{{  }}}
 {{}}}

  was:
The protocol has interface

 

{{@org.apache.avro.specific.AvroGenerated}}
{{public interface SomeProto {}}
{{  public static final org.apache.avro.Protocol PROTOCOL = .....}}

*{{// here it should also have @}}{{AvroGenerated}}*{{}}
{{  @SuppressWarnings("all")}}
{{  public interface Callback extends SomeProto {}}
{{  public static final org.apache.avro.Protocol PROTOCOL = 
com.my.SomeProto.PROTOCOL;}}
{{  }}}
{{}}}


> Protocol Callback interface should have @AvroGenerated
> ------------------------------------------------------
>
>                 Key: AVRO-3044
>                 URL: https://issues.apache.org/jira/browse/AVRO-3044
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.10.1
>            Reporter: Anatoly Kupriyanov
>            Priority: Major
>
> This is very similar to AVRO-2298
> The protocol has interface
>  
> {{@org.apache.avro.specific.AvroGenerated}}
>  {{public interface SomeProto {}}
>  {{  public static final org.apache.avro.Protocol PROTOCOL = .....}}
> *{{// here it should also have @}}{{AvroGenerated}}*{{}}
>  {{  @SuppressWarnings("all")}}
>  {{  public interface Callback extends SomeProto {}}
>  {{  public static final org.apache.avro.Protocol PROTOCOL = 
> com.my.SomeProto.PROTOCOL;}}
>  \{{  }}}
>  {{}}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to