[ 
https://issues.apache.org/jira/browse/AVRO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763129#action_12763129
 ] 

Doug Cutting commented on AVRO-137:
-----------------------------------

I don't like the precedent fixing findbugs issues in generated code.  For 
example, our generated code will also contain unused imports.  To fix that we'd 
need to keep track of, e.g., whether a given protocol ever in fact uses Utf8.  
This could add substantial complexity to the code generator without tangible 
benefit.  We want the code generator to be easy to maintain.  Note that Avro 
does not run findbugs over its generated code, nor does it run it over test 
code.  Might it be better to change MapReduce to similarly not run findbugs on 
generated code?

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