Log a stack trace to help us find out where this sort of thing happens if
it happens. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2442 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ObjectSet.java,v 1.1 2003/04/17 19:21:17 mdb Exp $
|
||||
// $Id: ObjectSet.java,v 1.2 2003/04/22 01:57:44 mdb Exp $
|
||||
|
||||
package com.threerings.miso.util;
|
||||
|
||||
@@ -30,9 +30,10 @@ public class ObjectSet
|
||||
int ipos = indexOf(info);
|
||||
if (ipos >= 0) {
|
||||
// log a warning because the caller shouldn't be doing this
|
||||
Log.warning("Requested to add a display object to a set that " +
|
||||
"already contains such an object [ninfo=" + info +
|
||||
Log.warning("Requested to add an object to a set that already " +
|
||||
"contains such an object [ninfo=" + info +
|
||||
", oinfo=" + _objs[ipos] + "].");
|
||||
Thread.dumpStack();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user