Use ArrayList.sort() instead of Collections.sort() 61/76961/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 13 Oct 2018 08:38:32 +0000 (10:38 +0200)
committerRobert Varga <nite@hq.sk>
Sat, 13 Oct 2018 08:56:25 +0000 (08:56 +0000)
commit05be64d8f65f16dc59e27d37075c28ed87ca1e45
tree88061d9c5f0d3ce91a33f5d6f6bcc67e59cb5fac
parentb8ab46d92c94191e44090b1bd75aa646e2ad6c14
Use ArrayList.sort() instead of Collections.sort()

We do not need Collections, as we have Java 8 and hence can
directly use List.sort(). This has the side-effect of
short-circuiting to ArrayList's implementation.

Change-Id: If978265242275014c586fcf92d96d5ba09bb7bca
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/AbstractBuilderTemplate.xtend