X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fmdsal-binding-dom-codec%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fdom%2Fcodec%2Fimpl%2FAugmentationCodecContext.java;h=484e192f98bc32460ad3ce8d53dd7dc1db087672;hb=0032cbc207750ee84b76dfc395c29ade7adc76d4;hp=d7842638aadb4a0c1020a81f8575cc05af36d647;hpb=889d6606afceea88af3884ee340008c0f8810496;p=mdsal.git diff --git a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/AugmentationCodecContext.java b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/AugmentationCodecContext.java index d7842638aa..484e192f98 100644 --- a/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/AugmentationCodecContext.java +++ b/binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/AugmentationCodecContext.java @@ -33,7 +33,7 @@ final class AugmentationCodecContext> private final MethodHandle proxyConstructor; - private AugmentationCodecContext(final AugmentationCodecPrototype prototype, + private AugmentationCodecContext(final AugmentationCodecPrototype prototype, final DataContainerAnalysis analysis) { super(prototype, analysis); @@ -50,7 +50,7 @@ final class AugmentationCodecContext> proxyConstructor = ctor.asType(DATAOBJECT_TYPE); } - AugmentationCodecContext(final AugmentationCodecPrototype prototype) { + AugmentationCodecContext(final AugmentationCodecPrototype prototype) { this(prototype, new DataContainerAnalysis<>(prototype, CodecItemFactory.of())); } @@ -73,7 +73,7 @@ final class AugmentationCodecContext> @SuppressWarnings("checkstyle:illegalCatch") @Override public D filterFrom(final DataContainerNode parentData) { - for (var childArg : ((AugmentationCodecPrototype) prototype()).getChildArgs()) { + for (var childArg : ((AugmentationCodecPrototype) prototype()).getChildArgs()) { if (parentData.childByArg(childArg) != null) { try { return (D) proxyConstructor.invokeExact(this, parentData); @@ -92,7 +92,7 @@ final class AugmentationCodecContext> } @Override - protected Object deserializeObject(final NormalizedNode normalizedNode) { + Object deserializeObject(final NormalizedNode normalizedNode) { return filterFrom(checkDataArgument(DataContainerNode.class, normalizedNode)); } @@ -102,7 +102,7 @@ final class AugmentationCodecContext> } @Override - protected NodeIdentifier getDomPathArgument() { + NodeIdentifier getDomPathArgument() { return null; }