Zezeng Wang created AVRO-2569:
---------------------------------
Summary: 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: Bug
Components: java
Reporter: Zezeng Wang
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)