summaryrefslogtreecommitdiffstats
path: root/infra/translate-spi/src
diff options
context:
space:
mode:
Diffstat (limited to 'infra/translate-spi/src')
-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);
}
/**