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] Commented: (AVRO-82) A large number of Java warnings due to unused vairables etc.
Date Thu, 23 Jul 2009 18:28:15 GMT

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

Doug Cutting commented on AVRO-82:
----------------------------------

> you can just change the options that Ant is passing to javac, and add -Xlint

In place of the 50 warnings addressed above, this generates 20 warnings.  The intersection
between the sets is around 15, i.e., -Xlint generates warnings that Thiru's IDE does not,
several of which seem spurious to me (e.g., a 'fallthrough' warning).

We need to agree on a single standard, one that's integrated into the Ant build.


> A large number of Java warnings due to unused vairables etc.
> ------------------------------------------------------------
>
>                 Key: AVRO-82
>                 URL: https://issues.apache.org/jira/browse/AVRO-82
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Thiruvalluvan M. G.
>            Assignee: Thiruvalluvan M. G.
>            Priority: Minor
>         Attachments: AVRO-82.patch
>
>
> I', creating this JIRA to submit a patch that fix the following:
>    - Unused imports
>    - Unused private fields, local variables
>    - Use of generic types without parameters
>    - Missing setialVersionUID for serializable classes
> There are more than 50 compiler warnings due to these.

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