BUG-4638: fix decimal restrictions 40/30040/8
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 21 Nov 2015 17:43:12 +0000 (18:43 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 30 Nov 2015 16:13:16 +0000 (16:13 +0000)
commit1027266a165e7cbbe2020e4ab32578e51a0b3fdb
treed60c81d7e3c11e8bf5f9b27f7fe9a0acf087e38d
parent9e422a487a2b07790d551b51012d1d50e97e3e25
BUG-4638: fix decimal restrictions

We need to special-case the handling of decimal64, which the new parser
emits as a base type even when the model specifies non-default
restrictions.

Change-Id: I6a905d53e488f7a0dc50188ab9c67c9d7367b4e5
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/yang/types/TypeProviderImpl.java
binding/mdsal-binding-generator-util/src/main/java/org/opendaylight/yangtools/binding/generator/util/BindingGeneratorUtil.java