[
https://issues.apache.org/jira/browse/AVRO-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zezeng Wang updated AVRO-2569:
------------------------------
Issue Type: Improvement (was: Bug)
> Deprecated use 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
> 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)