BUG-3157: Use InstanceIdentifier.firstIdentifierOf() 23/21623/1
authorRobert Varga <rovarga@cisco.com>
Wed, 27 May 2015 10:10:35 +0000 (12:10 +0200)
committermichal rehak <mirehak@cisco.com>
Tue, 2 Jun 2015 09:32:58 +0000 (09:32 +0000)
commit7ff63650e4ae80a6660de9f2a39e27c41ecef534
treea3503177e6f1785278206ca1f976db5dbf8af6b2
parent5486482d3bf4f192ab8850d72b9873225ff6361c
BUG-3157: Use InstanceIdentifier.firstIdentifierOf()

Instead of instantiating multiple instance identifiers, make sure to
express our intent in terms of the InstanceIdentifier API. In this
particular case we are looking for the identifier capped at the
specified key.

Change-Id: I0284c582959fb00527116335b0def93e71fa535e
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit f983b20e843c13e7d27f9c4261c719c1192066bf)
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/AbstractDropTest.java
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestCommiter.java
test-common/src/main/java/org/opendaylight/openflowplugin/testcommon/DropTestRpcSender.java