code: private Object preprocessResult(Object result)
    {
      if (tc.isEntryEnabled()) Tr.entry(tc, "preprocessResult", new Object[] {result, this});
        
      Object processedResult = null;
        
      if (result instanceof DataItem)
      {
        processedResult = ((DataItem)result).getData();
      }
      else
      {
        processedResult = result;
      }
      
      if (tc.isEntryEnabled()) Tr.exit(tc, "preprocessResult", processedResult);
      return processedResult;
    }
docs: <p>
  This method is used to process objects that will be retured on next() or last()
  method calls. If the object is actually a DataItem (this class stores byte
  data added to the recovery log) then its replaced with the encapsulated data
  before return to the user. If the object is not a DataItem it is returned directly
  It is used thus:
  
  objectToReturn = preprocessResult(objectToReturn);
  </p>
  
  @param result The target object
  
  @return Object The target object or the encapsulated object, whichever applies.