Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4377

Document and add test for Key constructors copy behavior

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      While looking at Github PR #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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kturner Keith Turner
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: