Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.