Remove support for multiple annotations 13/85313/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 21 Oct 2019 20:43:43 +0000 (22:43 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 21 Oct 2019 20:57:36 +0000 (22:57 +0200)
commit2c183afa561d6763fb83da12ecbd2b7357da9d89
treebed886fa3a279367c7147616ab8b8e9a6ff63f99
parentd4ac9a98a59f340e8270a0579d972a5a962c9e75
Remove support for multiple annotations

We are only using a single annotation, hence we can collapse
a for loop into a straight append. Also reduces the need to allocate
arrays (even if JIT will handle that).

Change-Id: I5d226b115c16a91636045031c1ae3870a119e81a
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/AbstractJavaGeneratedType.java
binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/JavaFileTemplate.java