1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Code streamlining.

This commit is contained in:
Sergey Prigogin 2013-05-16 18:09:11 -07:00
parent c03c9ade0e
commit f2a3ff9a9d

View file

@ -676,11 +676,7 @@ public class LocationMap implements ILocationResolver {
}
}
contexts.addAll(ctx.getChildren());
if (contexts.isEmpty()) {
ctx= null;
} else {
ctx= contexts.removeFirst();
}
ctx= contexts.pollFirst();
}
}
if (ctx != null) {