You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Bill Havanki <bh...@clouderagovt.com> on 2013/12/05 20:55:47 UTC

Review Request 16043: ACCUMULO-1959 - deprecate a Value constructor

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16043/
-----------------------------------------------------------

Review request for accumulo.


Bugs: ACCUMULO-1959
    https://issues.apache.org/jira/browse/ACCUMULO-1959


Repository: accumulo


Description
-------

Very minor change, deprecating a constructor for the Value class where a needless double-copy of the input is performed. I also added a unit test for Value, which really could use one.


Diffs
-----

  core/src/main/java/org/apache/accumulo/core/data/Value.java 7d3cf8f20aa12205d25027d6ad06e4a3f6062b2e 
  core/src/test/java/org/apache/accumulo/core/data/ValueTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/16043/diff/


Testing
-------

Implemented and ran unit test before and after change, all tests pass.


Thanks,

Bill Havanki


Re: Review Request 16043: ACCUMULO-1959 - deprecate a Value constructor

Posted by Josh Elser <jo...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16043/#review29834
-----------------------------------------------------------

Ship it!


Ship It!

- Josh Elser


On Dec. 5, 2013, 8:47 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16043/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 8:47 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1959
>     https://issues.apache.org/jira/browse/ACCUMULO-1959
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Very minor change, deprecating a constructor for the Value class where a needless double-copy of the input is performed. I also added a unit test for Value, which really could use one.
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/accumulo/core/data/Value.java 7d3cf8f20aa12205d25027d6ad06e4a3f6062b2e 
>   core/src/test/java/org/apache/accumulo/core/data/ValueTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/16043/diff/
> 
> 
> Testing
> -------
> 
> Implemented and ran unit test before and after change, all tests pass.
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 16043: ACCUMULO-1959 - deprecate a Value constructor

Posted by Bill Havanki <bh...@clouderagovt.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16043/
-----------------------------------------------------------

(Updated Dec. 5, 2013, 3:47 p.m.)


Review request for accumulo.


Changes
-------

Fixed formatting for unit tests and added license header.


Bugs: ACCUMULO-1959
    https://issues.apache.org/jira/browse/ACCUMULO-1959


Repository: accumulo


Description
-------

Very minor change, deprecating a constructor for the Value class where a needless double-copy of the input is performed. I also added a unit test for Value, which really could use one.


Diffs (updated)
-----

  core/src/main/java/org/apache/accumulo/core/data/Value.java 7d3cf8f20aa12205d25027d6ad06e4a3f6062b2e 
  core/src/test/java/org/apache/accumulo/core/data/ValueTest.java PRE-CREATION 

Diff: https://reviews.apache.org/r/16043/diff/


Testing
-------

Implemented and ran unit test before and after change, all tests pass.


Thanks,

Bill Havanki


Re: Review Request 16043: ACCUMULO-1959 - deprecate a Value constructor

Posted by Bill Havanki <bh...@clouderagovt.com>.

> On Dec. 5, 2013, 3:23 p.m., Josh Elser wrote:
> > core/src/test/java/org/apache/accumulo/core/data/ValueTest.java, line 1
> > <https://reviews.apache.org/r/16043/diff/1/?file=394489#file394489line1>
> >
> >     Missing license header and wrong source formatting (might be missing the "apply to new files,methods, etc" checkbox in Eclipse)

D'oh! My bad. Submitting a new diff shortly.


- Bill


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16043/#review29832
-----------------------------------------------------------


On Dec. 5, 2013, 2:55 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16043/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 2:55 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1959
>     https://issues.apache.org/jira/browse/ACCUMULO-1959
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Very minor change, deprecating a constructor for the Value class where a needless double-copy of the input is performed. I also added a unit test for Value, which really could use one.
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/accumulo/core/data/Value.java 7d3cf8f20aa12205d25027d6ad06e4a3f6062b2e 
>   core/src/test/java/org/apache/accumulo/core/data/ValueTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/16043/diff/
> 
> 
> Testing
> -------
> 
> Implemented and ran unit test before and after change, all tests pass.
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>


Re: Review Request 16043: ACCUMULO-1959 - deprecate a Value constructor

Posted by Josh Elser <jo...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16043/#review29832
-----------------------------------------------------------



core/src/test/java/org/apache/accumulo/core/data/ValueTest.java
<https://reviews.apache.org/r/16043/#comment57310>

    Missing license header and wrong source formatting (might be missing the "apply to new files,methods, etc" checkbox in Eclipse)


- Josh Elser


On Dec. 5, 2013, 7:55 p.m., Bill Havanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16043/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2013, 7:55 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1959
>     https://issues.apache.org/jira/browse/ACCUMULO-1959
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> Very minor change, deprecating a constructor for the Value class where a needless double-copy of the input is performed. I also added a unit test for Value, which really could use one.
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/accumulo/core/data/Value.java 7d3cf8f20aa12205d25027d6ad06e4a3f6062b2e 
>   core/src/test/java/org/apache/accumulo/core/data/ValueTest.java PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/16043/diff/
> 
> 
> Testing
> -------
> 
> Implemented and ran unit test before and after change, all tests pass.
> 
> 
> Thanks,
> 
> Bill Havanki
> 
>