Use Iterables.filter() instead of FluentIterable 09/75909/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Sep 2018 08:36:12 +0000 (10:36 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 10 Sep 2018 08:39:00 +0000 (10:39 +0200)
commitca61467e9c4e802584a1475da15c01cc5ea8e83a
tree6bf5c6836bf3b5239e6c8635382ab9890cf96c8a
parent2d5b39317c3c5db3fa9c4c258175340d3e347c38
Use Iterables.filter() instead of FluentIterable

This removes allocation of one instance of FluentIterable, reducing
the amount of garbage we produce.

Change-Id: I93953f1263426f7fff20e579e56f82506fb423d4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/DataSchemaContextNode.java