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%2FAbstractLithiumDataInput.java;h=bab9143baebb73fced5888a5afffe7f83dbaafaa;hp=16bc11237ea1a6cb664ab3e2e886c4edf37bf111;hb=cfa32c0058c51a993e5b3e390acf49d7aaeac433;hpb=66e553f2098ea61426c4a441be57395673535c2f diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java index 16bc11237e..bab9143bae 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataInput.java @@ -278,16 +278,16 @@ abstract class AbstractLithiumDataInput extends AbstractNormalizedNodeDataInput final String readCodedString() throws IOException { final byte valueType = input.readByte(); switch (valueType) { - case TokenTypes.IS_NULL_VALUE: + case LithiumTokens.IS_NULL_VALUE: return null; - case TokenTypes.IS_CODE_VALUE: + case LithiumTokens.IS_CODE_VALUE: final int code = input.readInt(); try { return codedStringMap.get(code); } catch (IndexOutOfBoundsException e) { throw new IOException("String code " + code + " was not found", e); } - case TokenTypes.IS_STRING_VALUE: + case LithiumTokens.IS_STRING_VALUE: final String value = input.readUTF().intern(); codedStringMap.add(value); return value;