diff options
Diffstat (limited to 'v3po/translate-impl/src/main/java')
-rw-r--r-- | v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/write/AbstractCompositeWriter.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/write/AbstractCompositeWriter.java b/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/write/AbstractCompositeWriter.java index 8b42a6c6f..2a08da12c 100644 --- a/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/write/AbstractCompositeWriter.java +++ b/v3po/translate-impl/src/main/java/io/fd/honeycomb/v3po/translate/impl/write/AbstractCompositeWriter.java @@ -98,14 +98,11 @@ public abstract class AbstractCompositeWriter<D extends DataObject> implements W final WriteContext ctx) throws WriteFailedException { LOG.debug("{}: Updating current: {} dataBefore: {}, datAfter: {}", this, id, dataBefore, dataAfter); - // FIXME: Equals does not work properly with augments: https://git.opendaylight.org/gerrit/#/c/37719 - // Solution: update mdsal-binding-dom-codec to 0.8.2-Beryllium-SR2 when it will be published in - // ODL release repository - //if (dataBefore.equals(dataAfter)) { - // LOG.debug("{}: Skipping current(no update): {}", this, id); - // // No change, ignore - // return; - //} + if (dataBefore.equals(dataAfter)) { + LOG.debug("{}: Skipping current(no update): {}", this, id); + // No change, ignore + return; + } switch (traversalType) { case PREORDER: { |