summaryrefslogtreecommitdiffstats
path: root/infra/translate-spi/src/main
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-21 11:44:03 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-21 11:45:23 +0200
commit9410a994afc24692b8e9e3bbb05bbe80b113cc5b (patch)
tree2cd59a41919331daef3d367fcf2853a6e61999a5 /infra/translate-spi/src/main
parentb993a3840d20264a8f44f282a4ddf4eb42745240 (diff)
Cleanup WriterCustomizer
Change-Id: Ied63ccd3fbc7e645ba3fa2db16528b3209319fa7 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/translate-spi/src/main')
-rw-r--r--infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/write/WriterCustomizer.java7
1 files changed, 2 insertions, 5 deletions
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 <D> Specific DataObject derived type (Identifiable), that is handled by this customizer
+ * @param <D> Specific DataObject derived type (Identifiable), that is handled by this customizer.
*/
@Beta
public interface WriterCustomizer<D extends DataObject> {
@@ -47,7 +47,7 @@ public interface WriterCustomizer<D extends DataObject> {
/**
* 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<D extends DataObject> {
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);
}
/**