mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
8ae5715f10
commit
ca69e0b6e9
1 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ public class PDOMFile implements IIndexFragmentFile {
|
||||||
// Detach the includes
|
// Detach the includes
|
||||||
source.setFirstIncludedBy(null);
|
source.setFirstIncludedBy(null);
|
||||||
// Adjust the includes
|
// Adjust the includes
|
||||||
for (PDOMInclude i=include; i != null; i= i.getNextInIncludedBy()) {
|
for (PDOMInclude i= include; i != null; i= i.getNextInIncludedBy()) {
|
||||||
i.setIncludes(this);
|
i.setIncludes(this);
|
||||||
}
|
}
|
||||||
// Append the includes
|
// Append the includes
|
||||||
|
@ -230,7 +230,7 @@ public class PDOMFile implements IIndexFragmentFile {
|
||||||
if (last == null) {
|
if (last == null) {
|
||||||
setFirstIncludedBy(include);
|
setFirstIncludedBy(include);
|
||||||
} else {
|
} else {
|
||||||
for (PDOMInclude i=last; i != null; i= i.getNextInIncludedBy()) {
|
for (PDOMInclude i= last; i != null; i= i.getNextInIncludedBy()) {
|
||||||
last= i;
|
last= i;
|
||||||
}
|
}
|
||||||
last.setNextInIncludedBy(include);
|
last.setNextInIncludedBy(include);
|
||||||
|
|
Loading…
Add table
Reference in a new issue