From c9ba5360ac608cf4d96b6d2b246ea3a2a7ff2f0b Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 11 Jun 2018 19:02:21 +0200 Subject: ModifiableDataTreeManager: remove redundant non-default constructor Change-Id: I17dba7ad77f4d7865f887056062d0748ca699d44 Signed-off-by: Marek Gradzki --- .../java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java index 8dcca2762..f16172fa5 100644 --- a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java +++ b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java @@ -65,11 +65,7 @@ public class ModifiableDataTreeManager implements ModifiableDataManager { private boolean validated = false; ConfigSnapshot() { - this(dataTree.takeSnapshot().newModification()); - } - - protected ConfigSnapshot(final DataTreeModification modification) { - this.modification = modification; + this.modification = dataTree.takeSnapshot().newModification(); } @Override -- cgit 1.2.3-korg