Skip to content

Commit b167443

Browse files
EcljpseB0Tjukzi
authored andcommitted
IFile.write byte[] for filesystems without errorcode - fixes #1449
fixes FileSystemResourceManagerTest.testBug440110 #1449
1 parent a8a1c49 commit b167443

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/FileSystemResourceManager.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,9 +1358,6 @@ public void write(IFile target, byte[] content, IFileInfo fileInfo, int updateFl
13581358
if (append) {
13591359
throw e;
13601360
}
1361-
if (e.getStatus().getCode() != EFS.ERROR_WRITE) {
1362-
throw e;
1363-
}
13641361
IFileStore parent = store.getParent();
13651362
IFileInfo parentInfo = parent.fetchInfo();
13661363
if (parentInfo.exists()) {

0 commit comments

Comments
 (0)