forked from I2P_Developers/i2p.i2p
Clean up single char indexOf()
This commit is contained in:
@ -560,11 +560,7 @@ class NewsFetcher extends UpdateRunner {
|
||||
try {
|
||||
in.initialize(new FileInputStream(from));
|
||||
out = new SecureFileOutputStream(to);
|
||||
byte buf[] = new byte[4096];
|
||||
int read;
|
||||
while ((read = in.read(buf)) != -1) {
|
||||
out.write(buf, 0, read);
|
||||
}
|
||||
DataHelper.copy(in, out);
|
||||
} finally {
|
||||
if (out != null) try {
|
||||
out.close();
|
||||
|
Reference in New Issue
Block a user