Modified DObjectManager.createObject() to not afford optional subscription

because subscription no longer means receiving events.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@537 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-10-24 00:36:40 +00:00
parent 660fccceb4
commit 57b2e93ac3
9 changed files with 24 additions and 36 deletions
@@ -1,5 +1,5 @@
//
// $Id: DOMTest.java,v 1.3 2001/10/12 00:03:03 mdb Exp $
// $Id: DOMTest.java,v 1.4 2001/10/24 00:36:40 mdb Exp $
package com.threerings.presents.server.test;
@@ -48,10 +48,10 @@ public class DOMTest implements Subscriber, AttributeChangeListener
DOMTest sub = new DOMTest();
// request that a new TestObject be created
omgr.createObject(TestObject.class, sub, true);
omgr.createObject(TestObject.class, sub);
// or for fun you can try this bogus create request
// omgr.createObject(Integer.class, sub, true);
// omgr.createObject(Integer.class, sub);
// and run the object manager
omgr.run();