BUG-4638: fix typedefToGeneratedType() 25/30025/8
authorRobert Varga <rovarga@cisco.com>
Fri, 20 Nov 2015 22:54:41 +0000 (23:54 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 30 Nov 2015 16:13:15 +0000 (16:13 +0000)
commitc8d9add47c952b20273402e06793e288049a33dc
tree44add9f9827a2488eb8ebd4531b499710e999930
parent83286e145481b30cc71062aa7ab61709951a8fb9
BUG-4638: fix typedefToGeneratedType()

New parser does not generated ExtendedTypes. Since the callsite is all
about type definitions, it is safe to change that check to a check if
the provided type definitions has a base type.

Change-Id: I39d67b7d4d431c1cc8b212cc81597d667b20a734
Signed-off-by: Robert Varga <rovarga@cisco.com>
binding/mdsal-binding-generator-impl/src/main/java/org/opendaylight/yangtools/sal/binding/yang/types/TypeProviderImpl.java