Remove duplicate checkState() 41/86641/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 11:54:00 +0000 (12:54 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 30 Dec 2019 21:18:16 +0000 (22:18 +0100)
commit6c8ca3c84e0c88241e2172bcfedfbcfbadaa2b6b
treeccebd4979c842891e43b483e9d18a6ea2fbff0c3
parent8cc9d514dbb369fea21c31c78f66b1fed68805e9
Remove duplicate checkState()

The only caller already checks for the path being absolute, there
is no need to check twice.

Change-Id: I24a038ccfe73b47ceaa13e65f3ea3b74c1a3176f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d3700afdd16b8f486e4d401e07649dc76aa8e1bf)
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java