Remove deprecated NormalizedNodeInputStreamReader ctor
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / test / java / org / opendaylight / controller / cluster / datastore / node / utils / stream / SampleNormalizedNodeSerializable.java
index 365dab7d7b5a765a76fe154a53a27668abcddde5..ea89e2096a280bfb15925eb1c299254254133a61 100644 (file)
@@ -32,7 +32,7 @@ public class SampleNormalizedNodeSerializable implements Serializable {
 
     private void readObject(final ObjectInputStream stream)
             throws IOException, ClassNotFoundException, URISyntaxException {
-        NormalizedNodeDataInput reader = new NormalizedNodeInputStreamReader(stream);
+        NormalizedNodeDataInput reader = NormalizedNodeInputOutput.newDataInput(stream);
         this.input = reader.readNormalizedNode();
     }