[
https://issues.apache.org/jira/browse/AVRO-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113228#comment-17113228
]
ASF subversion and git services commented on AVRO-2569:
-------------------------------------------------------
Commit f301980140db3c8506baa43a40ded48a7c2e2c40 in avro's branch
refs/heads/master from zeshuai007
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=f301980 ]
AVRO-2569:Deprecated annotation usage does not conform to the Java specification
> @Deprecated annotation usage does not conform to the Java specification
> -----------------------------------------------------------------------
>
> Key: AVRO-2569
> URL: https://issues.apache.org/jira/browse/AVRO-2569
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Zezeng Wang
> Assignee: Zezeng Wang
> Priority: Minor
>
> In lang/java/compiler/../SpecificCompiler#javaUnbox(Schema, boolean),
> Utility for template use. Returns the unboxed java type for a Schema
> including the void type
> Used for preventing unnecessary returns for RPC methods without response but
> with error(s).
> This is great.
> But in the javaUnbox (Schema) comment added @deprecated, but did not add
> @Deprecated on the method definition, JDK does not want this, they should
> exist at the same time, otherwise the compiler will have a warning
--
This message was sent by Atlassian Jira
(v8.3.4#803005)