[
https://issues.apache.org/jira/browse/AVRO-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113298#comment-17113298
]
Hudson commented on AVRO-2569:
------------------------------
SUCCESS: Integrated in Jenkins build AvroJava #881 (See
[https://builds.apache.org/job/AvroJava/881/])
AVRO-2569:Deprecated annotation usage does not conform to the Java (dan:
[https://github.com/apache/avro/commit/f301980140db3c8506baa43a40ded48a7c2e2c40])
* (edit)
lang/java/compiler/src/main/velocity/org/apache/avro/compiler/specific/templates/java/classic/protocol.vm
* (edit)
lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java
* (edit)
lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java
* (edit)
lang/java/compiler/src/main/velocity/org/apache/avro/compiler/specific/templates/java/classic/record.vm
AVRO-2569:Merge use cases reduce CI consumption (dan:
[https://github.com/apache/avro/commit/641193688c0ec49a46af041d2d7b7fe1e8f108ec])
* (edit)
lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java
> @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
> Fix For: 1.10.0
>
>
> 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)