Change FileCollectionStorage to not write 0 bytes to the next file at the end
Instead of abusing SocketChannel.read in a tight loop, use a Selector
to tell us when a peer incoming channel is ready to read.

This fixes excessive CPU usage when running a peer over a slow
link. In that case, an IncomingThread would spend >90% of its time
repeatedly calling SocketChannel.read. Observed CPU use was in excess
of 350% on a quad-core MacBook Air.
Fixing email address of contributor in README

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Code style fixes

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Merge pull request #73 from a86c6f7964/collectionfileselect

Change FileCollectionStorage to not write 0 bytes to the next file at the end
Create Travis-CI configuration

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Add Travis-CI status image

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Bump to version 1.4; first release to Maven Central

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
[maven-release-plugin] prepare release ttorrent-1.4
[maven-release-plugin] prepare for next development iteration
Add documentation about declaring ttorrent as a POM dependency

With ttorrent now being available on Maven Central, this closes #12.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Update README.md

Fix dependency section
Merge pull request #93 from ralscha/patch-1

Update README.md