From: Robert Varga Date: Wed, 27 Jan 2021 10:06:52 +0000 (+0100) Subject: Make CopyHistory implement CopyableNode X-Git-Tag: v6.0.5~10 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=712c3ae6a666023f8febb1c7eb7c72ede2e31022;hp=712c3ae6a666023f8febb1c7eb7c72ede2e31022;p=yangtools.git Make CopyHistory implement CopyableNode We have a few call sites checking the same thing. Make a strong connection between CopyableNode and CopyHistory -- centralizing checks and providing an opportunity for optimization. CopyHistory.contains() now exists only for testing purposes. JIRA: YANGTOOLS-1215 Change-Id: Ibc9cebe4bee6c5818570c52415c3d8a5ba1ff19d Signed-off-by: Robert Varga (cherry picked from commit 62c350eff478deeaa90ab0304cdc9c3623c01c83) ---