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

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Mon Feb 11 14:24:04 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSER-97?page=all ]

Galder Zamarreno resolved JBSER-97.
-----------------------------------

    Fix Version/s: 1.1.0 Beta
       Resolution: Done

Not sure what's the fix version for this :-|

> 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: Galder Zamarreno
>            Priority: Minor
>             Fix For: 1.1.0 Beta
>
>
> 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