Fix ClassTemplate.genConstructor() declaration
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 4 Sep 2019 12:44:47 +0000 (14:44 +0200)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 19 Jun 2024 00:41:29 +0000 (10:41 +1000)
commit4db9f81b58fb7b20f7bbf0b83db0f5ca8616c099
tree2131e470e4490223e3070f95db5f3cdfb656de28
parentdb97963a6b2d2537436e1ef092ed3c8eaebaa8ae
Fix ClassTemplate.genConstructor() declaration

Using an array here is forcing us to needlessly unwrap the arraylist
(a perfectly iterable thing) to an array, which is only iterater over.

Fix this by passing down an iterable, which means the list can be
passed down as is.

Change-Id: I1572729d554c3ce8ae6ab94c1ba3d5547399e7ab
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