1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

2004-09-08 Alain Magloire

Fix For PR 73459
	* src/org/eclipse/cdt/internal/ui/editor/CDocumentProvider.java
This commit is contained in:
Alain Magloire 2004-09-08 20:30:50 +00:00
parent 88738cfecc
commit 3bd502cbef
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-09-08 Alain Magloire
Fix For PR 73459
* src/org/eclipse/cdt/internal/ui/editor/CDocumentProvider.java
2004-09-08 Alain Magloire
Fix for PR 73454.

View file

@ -870,7 +870,7 @@ public class CDocumentProvider extends TextFileDocumentProvider {
IResource resource= info.fCopy.getResource();
//Assert.isTrue(resource instanceof IFile);
if (!resource.exists()) {
if (resource != null && !resource.exists()) {
// underlying resource has been deleted, just recreate file, ignore the rest
createFileFromDocument(monitor, (IFile) resource, document);
return;