1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-01-04 03:52:44 +00:00
parent 4daceaf58c
commit 64d21644a9

View file

@ -182,8 +182,7 @@ public class CIndex implements IIndex {
final IIndexFile otherFile= fileMap.get(fileKey);
if (otherFile == null) {
fileMap.put(fileKey, file);
}
else if (!otherFile.equals(file)) { // same file in another fragment
} else if (!otherFile.equals(file)) { // same file in another fragment
iterator.remove();
}
}
@ -332,8 +331,7 @@ public class CIndex implements IIndex {
for (i = 0; i < fFragments.length; i++) {
fFragments[i].acquireReadLock();
}
}
finally {
} finally {
if (i < fFragments.length) {
// rollback
fReadLock--;
@ -580,8 +578,7 @@ public class CIndex implements IIndex {
if (!allowedFiles.contains(file)) {
if (handledIFLs.add(file.getLocation())) {
allowedFiles.add(file);
}
else {
} else {
continue;
}
}