Improve generateSources() a bit 30/104630/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Feb 2023 18:51:16 +0000 (19:51 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 28 Feb 2023 18:51:57 +0000 (19:51 +0100)
commit898937700efba6e1f1ff182a58d3167b7b42e4f7
tree6797c3af2d96d2f4b3075cd2261b82b0cd4c2a39
parentb53e3c4565d14d763973ef623f51ccf63b100205
Improve generateSources() a bit

Use local variable type inference to directly bind to ArrayList.

Change-Id: I832bbb2904ec85b24f233848aae756e9be46fe5b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
plugin/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/YangToSourcesProcessor.java