Changed a bunch of Thread.dumpStack() calls into stack traces properly logged
via the logging system. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@788 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -202,8 +202,8 @@ public class GeomUtil
|
||||
public static Rectangle grow (Rectangle source, Rectangle target)
|
||||
{
|
||||
if (target == null) {
|
||||
log.warning("Can't grow with null rectangle [src=" + source + ", tgt=" + target + "].");
|
||||
Thread.dumpStack();
|
||||
log.warning("Can't grow with null rectangle [src=" + source + ", tgt=" + target + "].",
|
||||
new Exception());
|
||||
} else if (source == null) {
|
||||
source = new Rectangle(target);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user