Guard Pattern constants with @RegEx 38/40338/8
authorRobert Varga <rovarga@cisco.com>
Tue, 14 Jun 2016 23:50:14 +0000 (01:50 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 2 Nov 2016 10:10:19 +0000 (10:10 +0000)
commitbba8a6d988acb59c6cd8dc05f28f560bf6815f5d
tree7807fb4c5a6e4967135806a7ce2db2187eb39fe5
parentbfaed60b4a452d00c63bc82337c3f24ba5d2a28d
Guard Pattern constants with @RegEx

We use some hard-coded patterns, extract them to string constants
and annotate those with @RegEx, so they are compile-time validated.

Change-Id: I651d18d665c42abb9402e4ae4669ae058f07b159
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-common/src/main/java/org/opendaylight/yangtools/yang/common/QName.java