I noted that the text delta implementation was basically just a copy of the binary one, using CharBuffer instead of ByteBuffer.
I've introduced an abstraction over the buffer type to allow using a single implementation for both text and binary.
I've attached the source files as requested. Sorry the patch did not work.
This source tree modifies also the Checksum class that becomes itself an hash map that uses primitive longs as key and allow to remove any dependency from the GNU Trove framework.
I extensively use findbugs annotations so you'll find that the code is pretty full with them,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Code normalization patch
Thanks for your contribution. I'll check out the patch.
Since the patch isn't working cleanly, could you send me the actual files you have? Thanks!
Full modified source tree
I've attached the source files as requested. Sorry the patch did not work.
This source tree modifies also the Checksum class that becomes itself an hash map that uses primitive longs as key and allow to remove any dependency from the GNU Trove framework.
I extensively use findbugs annotations so you'll find that the code is pretty full with them,