mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 06:55:23 +02:00
fix for bug 222544
This commit is contained in:
parent
ffc18ac763
commit
03b87be959
1 changed files with 5 additions and 2 deletions
|
@ -48,6 +48,7 @@
|
|||
* Martin Oberhuber (Wind River) - [314461] NPE deleting a folder w/o permission
|
||||
* David McKnight (IBM) - [279829] [local] Save conflict dialog keeps popping up on mounted drive
|
||||
* David McKnight (IBM) - [331247] Local file paste failed on Vista and Windows 7
|
||||
* Xuan Chen (IBM) - [222544] [testing] FileServiceArchiveTest leaves temporary files and folders behind in TEMP dir
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.services.local.files;
|
||||
|
@ -1468,7 +1469,8 @@ public class LocalFileService extends AbstractFileService implements ILocalServi
|
|||
checkArchiveOperationStatusThread.start();
|
||||
}
|
||||
|
||||
src = child.getExtractedFile(sourceEncoding, isText, archiveOperationMonitor).getAbsolutePath();
|
||||
//Don't think we need this call.
|
||||
//src = child.getExtractedFile(sourceEncoding, isText, archiveOperationMonitor).getAbsolutePath();
|
||||
if (monitor != null && monitor.isCanceled())
|
||||
{
|
||||
//This operation has been cancelled by the user.
|
||||
|
@ -1513,6 +1515,7 @@ public class LocalFileService extends AbstractFileService implements ILocalServi
|
|||
{
|
||||
File source = new File(src);
|
||||
boolean returnValue = copyToArchive(source, targetFolder, newName, monitor, SystemEncodingUtil.ENCODING_UTF_8, targetEncoding, isText);
|
||||
deleteContents(source, monitor);
|
||||
if (!returnValue)
|
||||
{
|
||||
if (monitor != null && monitor.isCanceled())
|
||||
|
|
Loading…
Add table
Reference in a new issue