1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 19:35:36 +02:00

[395981] Local file encoding is not handled properly

This commit is contained in:
David McKnight 2013-01-28 11:38:32 -05:00
parent f730be5af5
commit aeb9f0311d

View file

@ -1452,9 +1452,8 @@ public class LocalFileService extends AbstractFileService implements ILocalServi
checkArchiveOperationStatusThread = new CheckArchiveOperationStatusThread(archiveOperationMonitor, monitor);
}
boolean targetExists = targetFolder.exists();
boolean isTempFile = isTempFile(targetFolder);
if (!(targetExists && (ArchiveHandlerManager.isVirtual(targetFolder.getAbsolutePath()) && !isTempFile)) && !ArchiveHandlerManager.getInstance().isArchive(targetFolder))
if (!((ArchiveHandlerManager.isVirtual(targetFolder.getAbsolutePath()) && !isTempFile)) && !ArchiveHandlerManager.getInstance().isArchive(targetFolder))
{
// this is an optimization to speed up extractions from large zips. Instead of
// extracting to a temp location and then copying the temp files to the target location