Use Collections.singletonList() instead of Arrays.asList() 86/35886/2
authorStephen Kitt <skitt@redhat.com>
Mon, 7 Mar 2016 16:29:52 +0000 (17:29 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 7 Mar 2016 17:15:29 +0000 (17:15 +0000)
commite173f129d7d4a64fa711665fadf203cdffc2d355
tree67a448414f7d623a559439fee3ba15f15ac3ef12
parent2b21fe772a48cde6775f89048efd762a5bcee6b4
Use Collections.singletonList() instead of Arrays.asList()

... for calls with single parameters.

Change-Id: I9481dde463898f4d49061ed99670e42bf7e9aa25
Signed-off-by: Stephen Kitt <skitt@redhat.com>
common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/QueuedNotificationManager.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/codec/xml/XmlStreamUtilsTest.java
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/RetestModel.java
yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/util/SchemaContextUtil.java
yang/yang-parser-impl/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/rfc6020/Utils.java
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/TypesResolutionTest.java