accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Medinets (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-451) Change byte val[] to byte[] val in Mutation.java per PMD suggestion.
Date Thu, 08 Mar 2012 03:33:04 GMT
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


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message