mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 15:05:36 +02:00
Bug 522176 - NullPointerException in DeltaAnalyzer.processResourceDelta
Change-Id: I25606e5c1f4e15e9048df139bb6a2e60f8214508 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
This commit is contained in:
parent
dfd7a7164c
commit
eb70c04ceb
1 changed files with 3 additions and 0 deletions
|
@ -91,6 +91,9 @@ public class DeltaAnalyzer {
|
||||||
Set<IResource> handled) {
|
Set<IResource> handled) {
|
||||||
if (rDeltas != null) {
|
if (rDeltas != null) {
|
||||||
for (IResourceDelta rd: rDeltas) {
|
for (IResourceDelta rd: rDeltas) {
|
||||||
|
if (rd == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
final int rdkind = rd.getKind();
|
final int rdkind = rd.getKind();
|
||||||
if (rdkind != IResourceDelta.ADDED) {
|
if (rdkind != IResourceDelta.ADDED) {
|
||||||
IResource res= rd.getResource();
|
IResource res= rd.getResource();
|
||||||
|
|
Loading…
Add table
Reference in a new issue