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