From: Robert Varga Date: Thu, 19 Nov 2020 21:30:20 +0000 (+0100) Subject: Split out AbstractValidation X-Git-Tag: v6.0.2~20 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=45f1165595431a54440f7b63542bb5f4ce507d5d;hp=45f1165595431a54440f7b63542bb5f4ce507d5d;p=yangtools.git Split out AbstractValidation MinMaxElementsValidation performs a useful role as a template for how we can create simple subtree validations. Split the common bits into AbstractValidation and elinate code duplication by doing some trickery. JIRA: YANGTOOLS-1177 Change-Id: I5adbed16e85f9752a0ce5061b0159c8124583346 Signed-off-by: Robert Varga (cherry picked from commit ffe8f4ea13bd2bab97514aa1d6ee257a1d7b39ff) ---