mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[238367] [regression] Error when deleting Archive Files
This commit is contained in:
parent
4f75e4f31f
commit
af6e15f418
1 changed files with 3 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
|||
* Radoslav Gerganov (ProSyst) - [230919] IFileService.delete() should not return a boolean
|
||||
* Martin Oberhuber (Wind River) - [233993] Improve EFS error reporting
|
||||
* Martin Oberhuber (Wind River) - [235360][ftp][ssh][local] Return proper "Root" IHostFile
|
||||
* David McKnight (IBM) - [238367] [regression] Error when deleting Archive Files
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.services.local.files;
|
||||
|
@ -1049,7 +1050,8 @@ public class LocalFileService extends AbstractFileService implements ILocalServi
|
|||
}
|
||||
else
|
||||
{
|
||||
result = fileToDelete.delete();
|
||||
if (fileToDelete.exists())
|
||||
result = fileToDelete.delete();
|
||||
}
|
||||
if (!result) {
|
||||
if (fileToDelete.exists()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue