forked from I2P_Developers/i2p.i2p
i2psnark: type arguments, unused imports, for each
This commit is contained in:
@@ -281,7 +281,7 @@ public class BDecoder
|
||||
+ (char)c + "'");
|
||||
indicator = 0;
|
||||
|
||||
List result = new ArrayList();
|
||||
List<BEValue> result = new ArrayList<BEValue>();
|
||||
c = getNextIndicator();
|
||||
while (c != 'e')
|
||||
{
|
||||
|
||||
@@ -175,7 +175,7 @@ public class BEncoder
|
||||
|
||||
// Keys must be sorted. XXX - But is this the correct order?
|
||||
Set<String> s = m.keySet();
|
||||
List<String> l = new ArrayList(s);
|
||||
List<String> l = new ArrayList<String>(s);
|
||||
Collections.sort(l);
|
||||
|
||||
Iterator<String> it = l.iterator();
|
||||
|
||||
Reference in New Issue
Block a user