1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 07:15:39 +02:00

[251631] NullPointerException in SystemTempFileListener

This commit is contained in:
David McKnight 2008-10-24 16:40:34 +00:00
parent 59bd3f174e
commit 10d76ae7a2

View file

@ -23,6 +23,7 @@
* David McKnight (IBM) - [216252] [api][nls] Resource Strings specific to subsystems should be moved from rse.ui into files.ui / shells.ui / processes.ui where possible * David McKnight (IBM) - [216252] [api][nls] Resource Strings specific to subsystems should be moved from rse.ui into files.ui / shells.ui / processes.ui where possible
* David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE * David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE
* David McKnight (IBM) - [235221] Files truncated on exit of Eclipse * David McKnight (IBM) - [235221] Files truncated on exit of Eclipse
* David McKnight (IBM) - [251631] NullPointerException in SystemTempFileListener
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.files.ui.resources; package org.eclipse.rse.files.ui.resources;
@ -155,6 +156,10 @@ public abstract class SystemTempFileListener implements IResourceChangeListener
} }
else else
{ {
if (file.isLinked()){
return true;
}
else {
String path = file.getLocation().toString().toLowerCase(); String path = file.getLocation().toString().toLowerCase();
for (int i = 0; i < _ignoredFiles.size(); i++) for (int i = 0; i < _ignoredFiles.size(); i++)
@ -167,9 +172,12 @@ public abstract class SystemTempFileListener implements IResourceChangeListener
} }
} }
} }
}
return false; return false;
} }
/** /**
* @see IResourceChangeListener#resourceChanged(IResourceChangeEvent) * @see IResourceChangeListener#resourceChanged(IResourceChangeEvent)
*/ */