rmarins/accord — pull request #4 by darkmuse (2013-06-11 12:14:57+00:00)
Title: Changes to the mappings from files to exchange buffers

In this forum thread:

http://forum.accordproject.org/Incorrectly-stripping-line-separators-from-data-exchange-buffers-td4024826.html

I mentioned that the mapping was being done incorrectly (it certainly didn't interoperate with the Odex product properly). Gabriel asked for some test code, so I added

/accord/odetteftp/core/src/test/java/org/neociclo/odetteftp/protocol/data/ExchangeBufferTest.java

I updated the NormalMapping.java and CompressionMapping.java classes to make them pass so take a look and see if you want to use that or make your own changes to fix it. We need to make this change as we need to interoperate with other Odex implementations but it will obviously break compatibility with any products that use the current Accord implementation!

Enjoy,
Gary Barker