mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removing warnings
This commit is contained in:
parent
e5d98eb477
commit
1e9cf4ea12
1 changed files with 8 additions and 10 deletions
|
@ -301,14 +301,13 @@ public class CElementDelta implements ICElementDelta {
|
||||||
protected CElementDelta find(ICElement e) {
|
protected CElementDelta find(ICElement e) {
|
||||||
if (equalsAndSameParent(fChangedElement, e)) { // handle case of two jars that can be equals but not in the same project
|
if (equalsAndSameParent(fChangedElement, e)) { // handle case of two jars that can be equals but not in the same project
|
||||||
return this;
|
return this;
|
||||||
} else {
|
}
|
||||||
for (int i = 0; i < fAffectedChildren.length; i++) {
|
for (int i = 0; i < fAffectedChildren.length; i++) {
|
||||||
CElementDelta delta = ((CElementDelta)fAffectedChildren[i]).find(e);
|
CElementDelta delta = ((CElementDelta)fAffectedChildren[i]).find(e);
|
||||||
if (delta != null) {
|
if (delta != null) {
|
||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -397,12 +396,11 @@ public class CElementDelta implements ICElementDelta {
|
||||||
CElementDelta delta = (CElementDelta)fAffectedChildren[i];
|
CElementDelta delta = (CElementDelta)fAffectedChildren[i];
|
||||||
if (equalsAndSameParent(delta.getElement(), element)) { // handle case of two jars that can be equals but not in the same project
|
if (equalsAndSameParent(delta.getElement(), element)) { // handle case of two jars that can be equals but not in the same project
|
||||||
return delta;
|
return delta;
|
||||||
} else {
|
}
|
||||||
delta = delta.getDeltaFor(element);
|
delta = delta.getDeltaFor(element);
|
||||||
if (delta != null)
|
if (delta != null)
|
||||||
return delta;
|
return delta;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue