You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/05/21 14:40:00 UTC
[jira] [Commented] (AVRO-2569) @Deprecated annotation usage does
not conform to the Java specification
[ https://issues.apache.org/jira/browse/AVRO-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113229#comment-17113229 ]
ASF subversion and git services commented on AVRO-2569:
-------------------------------------------------------
Commit 641193688c0ec49a46af041d2d7b7fe1e8f108ec in avro's branch refs/heads/master from zeshuai007
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=6411936 ]
AVRO-2569:Merge use cases reduce CI consumption
> @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)