X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2Fstream%2FLithiumNormalizedNodeInputStreamReader.java;h=1484f735d03c71539b11a61e641d3e78b96fc1f4;hp=84e96bfb917f90ade240fd3a5671f38edafd5b78;hb=f746b92d9aa9495a13ce92c01c5c1ae3228bb662;hpb=1a33f8ff73b05cf4d21f0cc989471ec68b14b145 diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/LithiumNormalizedNodeInputStreamReader.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/LithiumNormalizedNodeInputStreamReader.java index 84e96bfb91..1484f735d0 100755 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/LithiumNormalizedNodeInputStreamReader.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/LithiumNormalizedNodeInputStreamReader.java @@ -214,11 +214,10 @@ class LithiumNormalizedNodeInputStreamReader extends ForwardingDataInput impleme String namespace = readCodedString(); String revision = Strings.emptyToNull(readCodedString()); - return QNameFactory.create(new QNameFactory.Key(localName, namespace, revision)); + return QNameFactory.create(localName, namespace, revision); } - - private String readCodedString() throws IOException { + final String readCodedString() throws IOException { final byte valueType = input.readByte(); switch (valueType) { case TokenTypes.IS_NULL_VALUE: