Cleanup AugmentToGenType 30/63030/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Sep 2017 09:34:22 +0000 (11:34 +0200)
committerMartin Ciglan <martin.ciglan@pantheon.tech>
Wed, 13 Sep 2017 07:51:10 +0000 (07:51 +0000)
commit4c485f2682fe9f346cb0d85a5fffe7b7d2ae1f88
treeac42c86fc99a9e7559ada591c617dd46ab388adf
parent675d69c062e3caf5cd9cad20246a955332622a4c
Cleanup AugmentToGenType

- do not use a temporary ArrayList
- use isEmpty() instead of size check

Change-Id: I1a1045f7d83c3775c8c29b1f63139e7a5e2d9317
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding2/mdsal-binding2-generator-impl/src/main/java/org/opendaylight/mdsal/binding/javav2/generator/impl/AugmentToGenType.java