Eliminate the use of java.util.Stack 85/8685/2
authorRobert Varga <rovarga@cisco.com>
Sun, 13 Jul 2014 15:41:14 +0000 (17:41 +0200)
committerRobert Varga <rovarga@cisco.com>
Sun, 13 Jul 2014 15:41:14 +0000 (17:41 +0200)
commit84cac493cf40f94f55667373010fcfa4adaf4bb5
treef765285a3e41f2f80322fb4f4ef829d164366215
parent8632613003ed0f4ae1795b45a3f12e2520b487bb
Eliminate the use of java.util.Stack

It is a synchronized entity, which we use in contexts which are limited
to a single thread. Use Deque<> for interfaces and a combination of
LinkedList implementation.

Signed-off-by: Robert Varga <rovarga@cisco.com>
Change-Id: I76956d52ee7ebb332267b0c13bb129aa9974b884
yang/yang-data-impl/src/test/java/org/opendaylight/yangtools/yang/data/impl/NodeUtilsTest.java