avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-137) Avro code generation should never cast an element to Object
Date Thu, 08 Oct 2009 16:46:31 GMT

     [ 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.


Mime
View raw message