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:
parent
59bd3f174e
commit
10d76ae7a2
1 changed files with 18 additions and 10 deletions
|
@ -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) - [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) - [251631] NullPointerException in SystemTempFileListener
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.files.ui.resources;
|
||||
|
@ -155,6 +156,10 @@ public abstract class SystemTempFileListener implements IResourceChangeListener
|
|||
}
|
||||
else
|
||||
{
|
||||
if (file.isLinked()){
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
String path = file.getLocation().toString().toLowerCase();
|
||||
|
||||
for (int i = 0; i < _ignoredFiles.size(); i++)
|
||||
|
@ -167,9 +172,12 @@ public abstract class SystemTempFileListener implements IResourceChangeListener
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @see IResourceChangeListener#resourceChanged(IResourceChangeEvent)
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue