From 9410a994afc24692b8e9e3bbb05bbe80b113cc5b Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Thu, 21 Jun 2018 11:44:03 +0200 Subject: Cleanup WriterCustomizer Change-Id: Ied63ccd3fbc7e645ba3fa2db16528b3209319fa7 Signed-off-by: Marek Gradzki --- .../java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'infra') diff --git a/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java b/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java index 821da1784..721e2be65 100644 --- a/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java +++ b/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java @@ -26,7 +26,7 @@ import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; /** * CompositeChildWriter SPI to customize its behavior. * - * @param Specific DataObject derived type (Identifiable), that is handled by this customizer + * @param Specific DataObject derived type (Identifiable), that is handled by this customizer. */ @Beta public interface WriterCustomizer { @@ -47,7 +47,7 @@ public interface WriterCustomizer { /** * Handle update operation. U from CRUD. * By default, updates will be broken into delete + create. - * Override this if there is a direct support for updates on lower level + * Override this if there is a direct support for updates on lower level. * * @param id Identifier(from root) of data being written * @param dataBefore Old data @@ -63,9 +63,6 @@ public interface WriterCustomizer { throw new UnsupportedOperationException( "Default implementation of updateCurrentAttributes should not be invoked." + "Either override this method or do not invoke it directly"); - -// deleteCurrentAttributes(id, dataBefore, writeContext); -// writeCurrentAttributes(id, dataAfter, writeContext); } /** -- cgit 1.2.3-korg