BUG-994: introduce SchemaPath.getLastComponent() 08/8408/4
authorRobert Varga <rovarga@cisco.com>
Thu, 26 Jun 2014 18:59:02 +0000 (20:59 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 1 Jul 2014 12:36:15 +0000 (14:36 +0200)
commit15eba26b040a4747488401f094151eb889f6576b
tree8c6c05a36e4308520f495b89c2802418ad7e1810
parenta15d87972954e2d1472898d77dff2faaf793851f
BUG-994: introduce SchemaPath.getLastComponent()

As it turns out we access the last component quite frequently. Let's
just expose it to the users, so they do not have to go through hoops to
find it.

Change-Id: I434f729f08196ad768e9326ffdc1cf9409ea8f07
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaPath.java