Commits


Gonzalo Ortiz authored and Wes McKinney committed 28553b4f1e0
ARROW-1443: [Java] Fixed a small bug on ArrowBuf.setBytes with unsliced ByteBuffers There is a small bug on ArrowBuf at line 750. It says: `udle.setBytes(index + offset, buf);` But it should say: `udle.setBytes(index + offset, newBuf);` There is a wraparound: You can call the method with the already sliced buffer. Author: Gonzalo Ortiz <golthiryus@gmail.com> Author: Li Jin <ice.xelloss@gmail.com> Closes #1022 from gortiz/master and squashes the following commits: cdffbcc7 [Gonzalo Ortiz] Removed the old ArrowBufTest (which was renamed as TestArrowBuf) d8aa00f5 [Gonzalo Ortiz] Renamed to ArrowBufTest to TestArrowBuf 1968a98e [Gonzalo Ortiz] Added license header aa6c4579 [Li Jin] Add more tests for NullableVarChar and NullableVarBinary e65e3804 [Gonzalo Ortiz] ARROW-1443 Reapplying the bug fix 41bcacc3 [Gonzalo Ortiz] ARROW-1443 Added a test to verify the bug f70ceff9 [Gonzalo Ortiz] ARROW-1443 Reverted the previous commit to reproduce the bug cef014f3 [Gonzalo Ortiz] [Java] Fixed a small bug on ArrowBuf.setBytes with unsliced ByteBuffers