Add QNameModule coding
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / stream / LithiumNormalizedNodeInputStreamReader.java
index 84e96bfb917f90ade240fd3a5671f38edafd5b78..1484f735d03c71539b11a61e641d3e78b96fc1f4 100755 (executable)
@@ -214,11 +214,10 @@ class LithiumNormalizedNodeInputStreamReader extends ForwardingDataInput impleme
         String namespace = readCodedString();
         String revision = Strings.emptyToNull(readCodedString());
 
         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:
         final byte valueType = input.readByte();
         switch (valueType) {
             case TokenTypes.IS_NULL_VALUE: