summaryrefslogtreecommitdiffstats
path: root/infra
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-11 19:02:21 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-11 19:02:32 +0200
commitc9ba5360ac608cf4d96b6d2b246ea3a2a7ff2f0b (patch)
tree0288ac34866b6819fb91accaeea6919aeca6f5f6 /infra
parentaedef4e46dac4b991072034ee07e3f35b6e5a700 (diff)
ModifiableDataTreeManager: remove redundant non-default constructor
Change-Id: I17dba7ad77f4d7865f887056062d0748ca699d44 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/ModifiableDataTreeManager.java6
1 files changed, 1 insertions, 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 8dcca27..f16172f 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