fixup: boxtree
This commit is contained in:
parent
733d9dac96
commit
940a753b41
@ -128,7 +128,7 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
|
|||||||
|
|
||||||
boolean drop = false;
|
boolean drop = false;
|
||||||
|
|
||||||
while (stack != null) {
|
O: while (stack != null) {
|
||||||
|
|
||||||
/** pop cur from stack */
|
/** pop cur from stack */
|
||||||
cur = stack;
|
cur = stack;
|
||||||
@ -147,7 +147,7 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
|
|||||||
if (dbg)
|
if (dbg)
|
||||||
log.debug("{} overlap {} {}", result, box, it);
|
log.debug("{} overlap {} {}", result, box, it);
|
||||||
drop = true;
|
drop = true;
|
||||||
//break O;
|
break O;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
@ -195,9 +195,9 @@ public abstract class BoxTree<Box extends BoxItem<E>, E> extends QuadTree<BoxNod
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** dont keep dangling references */
|
/** dont keep dangling references */
|
||||||
/* gwt optimizer found this cannot be reached :) */
|
///* gwt optimizer found this cannot be reached :) */
|
||||||
//while (stack != null)
|
while (stack != null)
|
||||||
// stack = stack.next;
|
stack = stack.next;
|
||||||
|
|
||||||
return drop ? 1 : 0;
|
return drop ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user