slachiewicz opened a new pull request, #839:
URL: https://github.com/apache/maven-indexer/pull/839

   Second step of #569. `indexer-core` now depends on `indexer-reader`, which 
has no dependencies of its own, and `IndexDataReader` and `IndexDataWriter` use 
its `TransferFormat` instead of their own copy of the encoding.
   
   The bytes written do not change: `IndexDataWriterTest` pins a SHA-256 of the 
writer's output that was captured before the change, and reads the same output 
back with `ChunkReader`. The input accepted and the exception types are the 
same too. One behavior change: the `IOException` messages for corrupt input now 
use the reader's wording ("Index data content is corrupt").
   
   `ChunkReader` now tests for the `-1` end-of-stream value of 
`readFieldCount`, the only negative value it returns.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [ ] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to