Optimize drop-test memory usage 40/7140/2
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 17 May 2014 20:12:17 +0000 (22:12 +0200)
committerRobert Varga <robert.varga@pantheon.sk>
Sun, 18 May 2014 09:53:52 +0000 (11:53 +0200)
commitf79732e79cceb7a84a6fe067d02984f5163c2600
treee7613506c880a68708da48ca1247089390fde661
parent30ad89975725c6177254f580ff842dbd3ab33dff
Optimize drop-test memory usage

This patch makes sure drop-test uses the Collections.singletonList(),
so as to not waste memory on ArrayList, since we are only forwarding a
single entry.

Change-Id: Iaf4e7e408ed147177a40355b3c0ab2d4e18d133c
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
drop-test/src/main/java/org/opendaylight/openflowplugin/droptest/DropTestRpcSender.java