Changeset 20648
- Timestamp:
- 2009-09-21T12:23:38+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/core/uninstaller/Uninstaller.java
r18073 r20648 442 442 //log.append( "Processing: " + f.getAbsolutePath() + "\n" ); 443 443 444 // Make sure the file or directory exists445 if (!f.exists()) {446 log( Strings.replaceAll( bundle.getString("uninstaller.warning.nonexistent"), "{file}", f.getAbsolutePath() ) + "\n" );447 return;448 }449 450 444 // if this is an exception, return 451 445 if ( exceptions != null ) { … … 464 458 } 465 459 466 //check existance467 if ( !f.exists() ) {468 log( Strings.replaceAll( bundle.getString("uninstaller.error.nonexistent"), "{file}", f.getAbsolutePath() ) + "\n" );469 return;470 }471 472 460 //if it is a directory, recurse 473 461 if (f.isDirectory()) { … … 493 481 if ( doDelete ) { 494 482 495 Object[] options = null;496 int n = 0;497 483 log( Strings.replaceAll( bundle.getString("uninstaller.deleting"), "{file}", f.getAbsolutePath() ) + "\n" ); 498 484
Note:
See TracChangeset
for help on using the changeset viewer.