fixup: boxtree

This commit is contained in:
Hannes Janetzek 2014-02-16 15:21:06 +01:00
parent 733d9dac96
commit 940a753b41

View File

@ -128,7 +128,7 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
boolean drop = false;
while (stack != null) {
O: while (stack != null) {
/** pop cur from stack */
cur = stack;
@ -147,7 +147,7 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
if (dbg)
log.debug("{} overlap {} {}", result, box, it);
drop = true;
//break O;
break O;
}
if (result < 0) {
@ -195,9 +195,9 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
}
/** dont keep dangling references */
/* gwt optimizer found this cannot be reached :) */
//while (stack != null)
// stack = stack.next;
///* gwt optimizer found this cannot be reached :) */
while (stack != null)
stack = stack.next;
return drop ? 1 : 0;
}