Scraping of tracker did not work as expected. The String which was used as KEY to a map is infohash. This String was created with UTF-8 encoding which was wrong. Only actual text string should be encoded and decoded from and to UTF-8. Data should be encoded in some default encoding like ISO-8859-1. More about this here.
Version of selected libs was updated
Added test for BDecode, fixed FileCollectionStorageTest and added Util class with common static methods.
Scraping of tracker did not work as expected. The String which was used as KEY to a map is infohash. This String was created with UTF-8 encoding which was wrong. Only actual text string should be encoded and decoded from and to UTF-8. Data should be encoded in some default encoding like ISO-8859-1. More about this here.
Version of selected libs was updated
Added test for BDecode, fixed FileCollectionStorageTest and added Util class with common static methods.