I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 9804e5b7 authored by str4d's avatar str4d
Browse files

i2psnark: more type arguments

parent 2f33186e
No related branches found
No related tags found
No related merge requests found
......@@ -586,12 +586,12 @@ public class MetaInfo
*/
public synchronized byte[] getTorrentData()
{
Map m = new HashMap();
Map<String, Object> m = new HashMap<String, Object>();
if (announce != null)
m.put("announce", announce);
if (announce_list != null)
m.put("announce-list", announce_list);
Map info = createInfoMap();
Map<String, BEValue> info = createInfoMap();
m.put("info", info);
// don't save this locally, we should only do this once
return BEncoder.bencode(m);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment