private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
  s.defaultReadObject();
}

private void readObject ( ObjectInputStream s ) throws IOException , ClassNotFoundException { s . defaultReadObject ( ) ; }
adds semantic checks to the default deserialization method . this method must have the standard signature for a readobject method , and the body of the method must begin with " s . defaultreadobject ( ) ; " . other than that , any semantic checks can be specified and do not need to stay the same from version to version . a readobject method of this form may be added to any class , even if tetrad sessions were previously saved out using a version of the class that didn ' t include it . ( that ' s what the " s . defaultreadobject ( ) ; " is for . see j . bloch , effective java , for help .
