accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anonymous (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-451) Change byte val[] to byte[] val in Mutation.java per PMD suggestion.
Date Tue, 16 Apr 2013 21:25:17 GMT

     [ 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

Mime
View raw message