- private void readObject(final ObjectInputStream stream) throws IOException, ClassNotFoundException, URISyntaxException {
- NormalizedNodeStreamReader reader = new NormalizedNodeInputStreamReader((DataInput)stream);
- this.input = reader.readNormalizedNode();
+ private void readObject(final ObjectInputStream stream) throws IOException {
+ this.input = NormalizedNodeInputOutput.newDataInput(stream).readNormalizedNode();