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%2FAbstractLithiumDataOutput.java;h=47082698f98b622dac1f1496f170711194b0ca12;hp=be61f7847dc34a7d9de038f6d89077b00a2261ff;hb=ce5a523664a789cefb9950ec9368abc35f849d7c;hpb=53af8a1af8d2433788c9b9aa512930b57b19d297 diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java index be61f7847d..47082698f9 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/AbstractLithiumDataOutput.java @@ -215,26 +215,26 @@ abstract class AbstractLithiumDataOutput extends AbstractNormalizedNodeDataOutpu @SuppressFBWarnings(value = "BC_UNCONFIRMED_CAST", justification = "The casts in the switch clauses are indirectly confirmed via the determination of 'type'.") final void writePathArgumentInternal(final PathArgument pathArgument) throws IOException { - final byte type = PathArgumentTypes.getSerializablePathArgumentType(pathArgument); + final byte type = LithiumPathArgument.getSerializablePathArgumentType(pathArgument); output.writeByte(type); switch (type) { - case PathArgumentTypes.NODE_IDENTIFIER: + case LithiumPathArgument.NODE_IDENTIFIER: NodeIdentifier nodeIdentifier = (NodeIdentifier) pathArgument; writeQNameInternal(nodeIdentifier.getNodeType()); break; - case PathArgumentTypes.NODE_IDENTIFIER_WITH_PREDICATES: + case LithiumPathArgument.NODE_IDENTIFIER_WITH_PREDICATES: NodeIdentifierWithPredicates nodeIdentifierWithPredicates = (NodeIdentifierWithPredicates) pathArgument; writeQNameInternal(nodeIdentifierWithPredicates.getNodeType()); writeKeyValueMap(nodeIdentifierWithPredicates.entrySet()); break; - case PathArgumentTypes.NODE_IDENTIFIER_WITH_VALUE: + case LithiumPathArgument.NODE_IDENTIFIER_WITH_VALUE: NodeWithValue nodeWithValue = (NodeWithValue) pathArgument; writeQNameInternal(nodeWithValue.getNodeType()); writeObject(nodeWithValue.getValue()); break; - case PathArgumentTypes.AUGMENTATION_IDENTIFIER: + case LithiumPathArgument.AUGMENTATION_IDENTIFIER: // No Qname in augmentation identifier writeAugmentationIdentifier((AugmentationIdentifier) pathArgument); break;