Changeset aa098ac for router


Ignore:
Timestamp:
Feb 5, 2017 2:58:47 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
afb87cd
Parents:
bbbbfe2
Message:

dont log deletion of deletelist.txt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tasks/InstallUpdate.java

    rbbbbfe2 raa098ac  
    203203                    continue;
    204204                df = new File(context.getBaseDir(), fl);
    205                 if (df.exists() && !df.isDirectory()) {
     205                if (df.exists() && df.isFile()) {
    206206                    if (df.delete())
    207207                        System.out.println("INFO: File [" + fl + "] deleted");
    208208                }
    209209            }
    210         } catch (IOException ioe) {}
    211         finally {
     210        } catch (IOException ioe) {
     211        } finally {
    212212            if (in != null) try { in.close(); } catch(IOException ioe) {}
    213             if (deleteFile.delete())
    214                 System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
     213            if (deleteFile.delete()) {
     214                //System.out.println("INFO: File [" + DELETE_FILE + "] deleted");
     215            }
    215216        }
    216217    }
Note: See TracChangeset for help on using the changeset viewer.