[ 
https://issues.apache.org/jira/browse/AVRO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doug Cutting updated AVRO-137:
------------------------------

    Attachment: AVRO-137.patch

Turns out the warning in question is not generated by findbugs, but by 'javac 
-Xlint'.  So perhaps we should instead just emit @SuppressWarnings("all") in 
generated code?

I've attached a patch that does this.


> Avro code generation should never cast an element to Object 
> ------------------------------------------------------------
>
>                 Key: AVRO-137
>                 URL: https://issues.apache.org/jira/browse/AVRO-137
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Sharad Agarwal
>             Fix For: 1.2.0
>
>         Attachments: AVRO-137.patch, AVRO-137.patch
>
>
> Avro code generation should never cast an element to Object. If casted, it 
> results in redudant cast warning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to