From a9ef042dae9f3e85220e3e0ab8243d0cda62f668 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 18 Jul 2002 00:42:30 +0000 Subject: [PATCH] Debug logging changes. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1589 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/presents/dobj/io/DObjectFactory.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/presents/dobj/io/DObjectFactory.java b/src/java/com/threerings/presents/dobj/io/DObjectFactory.java index 2d1603542..cad265912 100644 --- a/src/java/com/threerings/presents/dobj/io/DObjectFactory.java +++ b/src/java/com/threerings/presents/dobj/io/DObjectFactory.java @@ -1,5 +1,5 @@ // -// $Id: DObjectFactory.java,v 1.11 2002/02/01 23:32:37 mdb Exp $ +// $Id: DObjectFactory.java,v 1.12 2002/07/18 00:42:30 mdb Exp $ package com.threerings.presents.dobj.io; @@ -26,7 +26,7 @@ public class DObjectFactory public static void writeTo (DataOutputStream out, DObject dobj) throws IOException { - // Log.info("Marshalling object: " + dobj); +// Log.info("Marshalling object: " + dobj); // write the class of the object to the stream out.writeUTF(dobj.getClass().getName()); @@ -48,7 +48,9 @@ public class DObjectFactory DObject dobj = (DObject)clazz.newInstance(); dobj.setOid(in.readInt()); // read and set the oid - // Log.info("Unmarshalling object: " + dobj); +// Log.info("Unmarshalling object " + +// "[class=" + dobj.getClass().getName() + +// ", object=" + dobj + "]."); // use a marshaller to reconstitute the object from the stream Marshaller.readObject(in, dobj);