mpetazzoni / ttorrent

BitTorrent Java library with tracker and download client
http://mpetazzoni.github.com/ttorrent/
Apache License 2.0
1.38k stars 502 forks source link

Fix byteArrayToHexString and add tests #174

Closed philipphenkel closed 8 years ago

philipphenkel commented 8 years ago

The old implementation of byteArrayToHexString drops the byte array’s leading zeros.

mpetazzoni commented 8 years ago

Thanks. What's up with the merge commit though?

Could you fix the PR to only contain the change of byteArrayToHexString?

Thanks!

philipphenkel commented 8 years ago

I removed the merge commit that slipped into the pull request.

mpetazzoni commented 8 years ago

Thanks; merged!