forked from I2P_Developers/i2p.i2p
dont log deletion of deletelist.txt
This commit is contained in:
@@ -202,16 +202,17 @@ public class InstallUpdate {
|
|||||||
if (df.isAbsolute())
|
if (df.isAbsolute())
|
||||||
continue;
|
continue;
|
||||||
df = new File(context.getBaseDir(), fl);
|
df = new File(context.getBaseDir(), fl);
|
||||||
if (df.exists() && !df.isDirectory()) {
|
if (df.exists() && df.isFile()) {
|
||||||
if (df.delete())
|
if (df.delete())
|
||||||
System.out.println("INFO: File [" + fl + "] deleted");
|
System.out.println("INFO: File [" + fl + "] deleted");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException ioe) {}
|
} catch (IOException ioe) {
|
||||||
finally {
|
} finally {
|
||||||
if (in != null) try { in.close(); } catch(IOException ioe) {}
|
if (in != null) try { in.close(); } catch(IOException ioe) {}
|
||||||
if (deleteFile.delete())
|
if (deleteFile.delete()) {
|
||||||
System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
|
//System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user