[jbosscache-commits] JBoss Cache SVN: r6765 - core/trunk/src/main/java/org/jboss/cache/marshall.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Sep 19 19:04:12 EDT 2008


Author: manik.surtani at jboss.com
Date: 2008-09-19 19:04:12 -0400 (Fri, 19 Sep 2008)
New Revision: 6765

Modified:
   core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
Removed unnecessary logging

Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-09-19 17:51:19 UTC (rev 6764)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java	2008-09-19 23:04:12 UTC (rev 6765)
@@ -674,22 +674,14 @@
 
    private ReplicableCommand unmarshallCommand(ObjectInputStream in, UnmarshalledReferences refMap) throws Exception
    {
-      if (trace) log.trace("Unmarshalling method call!!");
       short methodId = in.readShort();
-      if (trace) log.trace("Method ID for command is " + methodId);
       byte numArgs = in.readByte();
-      if (trace) log.trace("NumArgs for command is " + numArgs);
       Object[] args = null;
 
       if (numArgs > 0)
       {
          args = new Object[numArgs];
-
-         for (int i = 0; i < numArgs; i++)
-         {
-            args[i] = unmarshallObject(in, refMap);
-            if (trace) log.trace("Arg " + i + " is " + args[i]);
-         }
+         for (int i = 0; i < numArgs; i++) args[i] = unmarshallObject(in, refMap);
       }
 
       return commandsFactory.fromStream(methodId, args);




More information about the jbosscache-commits mailing list