[jboss-jira] [JBoss JIRA] Created: (JBSER-97) RegularObjectPersister.readSlotWithFields to log number of fields being read

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Oct 15 07:38:03 EDT 2007


RegularObjectPersister.readSlotWithFields to log number of fields being read
----------------------------------------------------------------------------

                 Key: JBSER-97
                 URL: http://jira.jboss.com/jira/browse/JBSER-97
             Project: JBoss Serialization
          Issue Type: Task
    Affects Versions: 1.0.3 GA
            Reporter: Galder Zamarreno
         Assigned To: Clebert Suconic
            Priority: Minor


writeSlotWithFields logs the slot name and number of fields to be written.

for debugging pupouses, readSlotWithFields could do with logging the number of fields written too, i.e.

RegularObjectPersister.readSlotWithFields() to start like this:

     short numberOfFields = (short)fieldsKey.length;

      if (isDebug)
      {
         log.debug("readSlotWithFields slot=" + slot.getSlotClass().getName() + " and " + numberOfFields + " fields");
      }

instead of:

       if (isDebug)
       {
          log.debug("readSlotWithFields slot=" + slot.getSlotClass().getName());
       }

       //final int numberOfFields = input.readShort();
      short numberOfFields = (short)fieldsKey.length;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list