- Timestamp:
- 2003-10-23T11:28:50+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/OptionsPane.java
r5666 r5726 534 534 d.append(date.toString()); 535 535 char success = UNKNOWN; 536 try { 537 FileInputStream in = new FileInputStream(new File(filepath)); 538 success = (char) in.read(); 539 in.close(); 540 in = null; 541 } 542 catch(Exception error) { 543 System.err.println("Log '" + filepath + "' not found!"); 544 Gatherer.printStackTrace(error); 545 } 536 File the_file = new File(filepath); 537 if(the_file.exists()) { 538 try { 539 FileInputStream in = new FileInputStream(the_file); 540 success = (char) in.read(); 541 in.close(); 542 in = null; 543 } 544 catch(Exception error) { 545 ///ystem.err.println("Log '" + filepath + "' not found!"); 546 ///atherer.printStackTrace(error); 547 } 548 } 549 the_file = null; 546 550 switch (success) { 547 551 case SUCCESSFUL:
Note:
See TracChangeset
for help on using the changeset viewer.