Fix CanonicalValueViolation.getMessage() 61/97461/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 13 Sep 2021 02:32:11 +0000 (04:32 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 13 Sep 2021 02:33:16 +0000 (04:33 +0200)
commit6d6c3348b2228133c84b49702931d8d6499681c2
treeeb8d9d21c18c166912220b3cc5f9475f44d03a1b
parenta9fe5338a4f8931d292a88b9ab089e7bb02e065a
Fix CanonicalValueViolation.getMessage()

We should not be looking at the tag but rather at message. This fixes
anonymous exceptions being thrown from Decimal64's value support.

Change-Id: I1462032b2b3cd5357a9009ac707c0f914a4e64c8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/CanonicalValueViolation.java