You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "David Medinets (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 04:33:04 UTC

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

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

        

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

Posted by "David Medinets (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Medinets closed ACCUMULO-451.
-----------------------------------

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

        

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

Posted by "David Medinets (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Medinets resolved ACCUMULO-451.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0-SNAPSHOT
    
> 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-SNAPSHOT
>
>
> 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

        

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

Posted by "David Medinets (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ACCUMULO-451 started by David Medinets.

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