private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
  in.defaultReadObject();
  if (instance == null) {
    throw new InvalidObjectException("null instance");
  }
  integrity=integrityEnforced(in);
}

private void readObject ( ObjectInputStream in ) throws IOException , ClassNotFoundException { in . defaultReadObject ( ) ; if ( instance == null ) { throw new InvalidObjectException ( "null instance" ) ; } integrity = integrityEnforced ( in ) ; }
samples integrity protection setting ( if any ) of the stream from which this instance is being deserialized .
