Changeset 30061


Ignore:
Timestamp:
2015-07-27T23:13:48+12:00 (6 years ago)
Author:
davidb
Message:

Removal of debug print statements, and tidy up on 'finally' clause

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/the-macronizer/trunk/src/java/web/servlets/DirectInput.java

    r29855 r30061  
    9797        File restoredFile = null;
    9898        try {
    99             System.out.println("test 1");
    10099            restoredFile = pluginManager.run(configuration);
    101100            //Read the file into a String then delete
    102              System.out.println("test done");
    103101            String restoredFragment = read(restoredFile, "utf-8");
    104102             
     
    114112        } finally {
    115113            file.delete();
    116             restoredFile.delete();
     114        if (restoredFile != null) {
     115        restoredFile.delete();
     116        }
    117117        }
    118118    }
Note: See TracChangeset for help on using the changeset viewer.