forked from I2P_Developers/i2p.i2p
* /logs: Fix encoding of wrapper log section (ticket #1193)
- remove a cast in FileUtil
This commit is contained in:
@ -370,8 +370,9 @@ public class FileUtil {
|
||||
}
|
||||
}
|
||||
StringBuilder buf = new StringBuilder(lines.size() * 80);
|
||||
for (int i = 0; i < lines.size(); i++)
|
||||
buf.append((String)lines.get(i)).append('\n');
|
||||
for (int i = 0; i < lines.size(); i++) {
|
||||
buf.append(lines.get(i)).append('\n');
|
||||
}
|
||||
return buf.toString();
|
||||
} catch (IOException ioe) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user