You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Anonymous (JIRA)" <ji...@apache.org> on 2013/04/16 23:25:17 UTC

[jira] [Updated] (ACCUMULO-451) Change byte val[] to byte[] val in Mutation.java per PMD suggestion.

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

Anonymous updated ACCUMULO-451:
-------------------------------

    Status: Resolved  (was: Closed)
    
> Change byte val[] to byte[] val in Mutation.java per PMD suggestion.
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-451
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-451
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: David Medinets
>            Assignee: David Medinets
>            Priority: Trivial
>             Fix For: 1.5.0
>
>
> This issue generates three PMD warnings like this:
> [WARNING] Error while parsing /home/medined/Desktop/Dropbox/david/workspace/accumulo/src/core/src/main/java/org/apache/accumulo/core/data/Mutation.java: Encountered " ":" ": "" at line 403, column 23.
> Was expecting one of:
>     "[" ...
>     ";" ...
>     "," ...
>     "=" ...
> This issue is that the code is looping over an array of byte[] but the actual code says "byte val[]". Both code constructs work. I wrote a test program to verify. However, where possible we should eliminate warning messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira