forked from I2P_Developers/i2p.i2p
tweaks
This commit is contained in:
@@ -440,8 +440,6 @@ public class DataHelper {
|
||||
String val = (String) entry.getValue();
|
||||
out.println(name + "=" + val);
|
||||
}
|
||||
out.flush();
|
||||
out.close();
|
||||
} finally {
|
||||
if (out != null) out.close();
|
||||
}
|
||||
|
@@ -372,7 +372,7 @@ public class FileUtil {
|
||||
String rootDirStr = rootDir.getCanonicalPath();
|
||||
if (!targetStr.startsWith(rootDirStr)) throw new FileNotFoundException("Requested file is outside the root dir: " + path);
|
||||
|
||||
byte buf[] = new byte[1024];
|
||||
byte buf[] = new byte[4*1024];
|
||||
FileInputStream in = null;
|
||||
try {
|
||||
in = new FileInputStream(target);
|
||||
|
Reference in New Issue
Block a user