You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2016/07/18 12:37:21 UTC

[jira] [Created] (ACCUMULO-4377) Document and add test for Key constructors copy behavior

Keith Turner created ACCUMULO-4377:
--------------------------------------

             Summary: Document and add test for Key constructors copy behavior
                 Key: ACCUMULO-4377
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4377
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Keith Turner


While looking at [Github PR #125|https://github.com/apache/accumulo/pull/125] I thought it was nice that the new constructors documented the copy behavior.  It would be nice to update the javadoc for the constructors that existed before the PR to mention the copy behavior.

Also all of the constructors copy behavior should be tested in KeyTest.java.  Should do things like pass in byte array to constructor, modify bye array, verify Key does not reflect changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)