Object nextObject = null; try { nextObject = in.readObject(); } catch (IOException ioe) { if (verbose) logFailure("nextObject", clientId);
*/ NumberedObject retval = this.nextNumberedObject; if (retval != null) readNextObject(); if (verbose) { if (retval == null) { log("IOData.nextObject: no more objects in file No. " + id, clientId); } else { log("IOData.nextObject: returning object " + retval.number() + " from file No. " + id, clientId); }
    synchronized NumberedObject nextObject(int clientId) {      if (!moreObjects) {	notifyIfDone();	return null;      }      Object nextObject = null;      try { nextObject = in.readObject(); }      catch (IOException ioe) {	if (verbose)	  logFailure("nextObject", clientId);      }      if (nextObject == null) {	moreObjects = false;	notifyIfDone();	return null;      }      else {	if (verbose)	  log("nextObject: got object " + currObjectNum +	      " from file No. " + id, clientId);	NumberedObject numObj =	  new NumberedObject(currObjectNum++, id, false, nextObject);	return numObj;      }    }