1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +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()); contexts.addAll(ctx.getChildren());
if (contexts.isEmpty()) { ctx= contexts.pollFirst();
ctx= null;
} else {
ctx= contexts.removeFirst();
}
} }
} }
if (ctx != null) { if (ctx != null) {