Skip to content
Permalink
Browse files
Don't override readDefaultObject delegation
  • Loading branch information
ngmr committed Apr 23, 2015
1 parent 3de4f5d commit ada28f3d290e06db6385d5c16f03dafa63a0e985
Showing 1 changed file with 0 additions and 4 deletions.
@@ -76,10 +76,6 @@ public CustomMarshaledObjectReader(ObjectReader delegate) throws IOException {
setState(State.BEFORE_CUSTOM_DATA);
}

public void defaultReadObject() throws IOException, ClassNotFoundException {
throw new IllegalStateException("defaultReadObject() only supported as first read operation within readObject()");
}

public void close() throws IOException {
switch (setState(State.CLOSED)) {
case UNINITIALISED:

0 comments on commit ada28f3

Please sign in to comment.