Move TpId allocation out of loop 67/38367/1
authorRobert Varga <rovarga@cisco.com>
Wed, 4 May 2016 12:26:02 +0000 (14:26 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 4 May 2016 12:26:02 +0000 (14:26 +0200)
commit0aac22135761d53592ee503b60a0ad5b94405539
treebc0fec51a1310d0e81b31494e58f0542615dc427
parent4ef426a4413414f17b7f183db5691fa6c84489f1
Move TpId allocation out of loop

The TpId being looked up is loop-invariant, hence it makes
sense to allocate it once rather than in a tight loop.

Change-Id: I8242754c61fa56b0779f164b001705fe252fe60e
Signed-off-by: Robert Varga <rovarga@cisco.com>
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/transactions/md/OvsdbPortUpdateCommand.java