Simplify instantiation of NormalizedNodeInputStreamReader 34/18734/1
authorRobert Varga <rovarga@cisco.com>
Tue, 21 Apr 2015 11:35:19 +0000 (13:35 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 21 Apr 2015 11:35:19 +0000 (13:35 +0200)
Constructor which takes a DataInput does not need to throw, so remove
that declaration. That makes it easier for users to instantiate it.

Change-Id: Ia9267c6610fe2ebbfa2cb24a4475bba5c486f6df
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NormalizedNodeInputStreamReader.java

index 52b171c13d78c02c3f3f32a5db02fdeffe44bbbc..59cc03625ae2f450373c712a9d10f84b62a0e68a 100644 (file)
@@ -76,7 +76,7 @@ public class NormalizedNodeInputStreamReader implements NormalizedNodeStreamRead
         input = new DataInputStream(stream);
     }
 
-    public NormalizedNodeInputStreamReader(DataInput input) throws IOException {
+    public NormalizedNodeInputStreamReader(DataInput input) {
         this.input = Preconditions.checkNotNull(input);
     }