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:
parent
f730be5af5
commit
aeb9f0311d
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue