You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/12/13 09:07:00 UTC

[jira] [Commented] (AVRO-1913) No warnings in the generated Java code

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

ASF subversion and git services commented on AVRO-1913:
-------------------------------------------------------

Commit 5d3588c42c2aca78555e8f65765eb979e6d2fd32 in avro's branch refs/heads/branch-1.8 from [~mkw]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=5d3588c ]

AVRO-1047: Java: Fix remaining javac warnings.

AVRO-1913 fixed most warnings, but missed a few unchecked usages and
left in some redundant casts.  This patch eliminates remaining
warnings even with the -Xlint:all flag added to javac.  With no more
warnings to surpress, the @SuppressWarnings("all") annotation is
removed from the generated code, as well.  The TestSpecificCompiler
test has been modified to pass -Xlint:all to the compiler and assert
that no warnings are present in compiled code.


> No warnings in the generated Java code
> --------------------------------------
>
>                 Key: AVRO-1913
>                 URL: https://issues.apache.org/jira/browse/AVRO-1913
>             Project: Avro
>          Issue Type: Improvement
>            Reporter: Niels Basjes
>            Assignee: Niels Basjes
>
> The generated Java code has several problems that trigger warnings about unchecked casts and the use of generics in the downstream applications.
> Let's reduce those to zero.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)