Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2569

@Deprecated annotation usage does not conform to the Java specification

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: java
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              zeshuai007 Zezeng Wang
              Reporter:
              zeshuai007 Zezeng Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: