Separate all-values constructor from typedef constructor 98/84198/3
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2019 14:03:48 +0000 (16:03 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2019 14:35:02 +0000 (16:35 +0200)
commit3a71a702503b88c9007e40b8a9e3d6ada6ab902b
tree5f0fb44f8f60abb72c2e315319187ff9578ec0e9
parent35400adb8f5c7db3320fdf6fbcbadf377569c2e0
Separate all-values constructor from typedef constructor

ClassTemplate.allValuesContructor() is actually two separate
templates, which is obfuscated by a number of checks. This patch
splits them out, eliminating the need for multiple checks for
the same thing.

JIRA: MDSAL-330
Change-Id: I298299ffe126fe5f51dc9c2776f46245eb0ce563
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/ClassTemplate.xtend