hector-client/hector — pull request #530 by cluePrints (2012-09-21 07:48:13+00:00)
Title: JaxbSerializer: use only relevant portion of ByteBuffer on deserialization

That's a minor fix and a test for JaxbSerializer.

It was not working properly when a ByteArray supplied to it actually was backed by byte[] array shared with someone other. Serializer took the whole byte[] array, thus failing to deserialize a column.

Test supplied makes sure that the issue won't reproduce with other Serializers.