Fix left over evt -> sw
Change-Id: I793df3060a6baab963f2312db8795c5d5633b732
diff --git a/src/test/java/net/onrc/onos/core/util/serializers/KryoFactoryTest.java b/src/test/java/net/onrc/onos/core/util/serializers/KryoFactoryTest.java
index 71f5d20..75e3bc8 100644
--- a/src/test/java/net/onrc/onos/core/util/serializers/KryoFactoryTest.java
+++ b/src/test/java/net/onrc/onos/core/util/serializers/KryoFactoryTest.java
@@ -323,10 +323,10 @@
}
{ // CHECKSTYLE IGNORE THIS LINE
- SwitchData evt = new SwitchData(DPID_A);
- evt.createStringAttribute(TopologyElement.TYPE,
+ SwitchData sw = new SwitchData(DPID_A);
+ sw.createStringAttribute(TopologyElement.TYPE,
TopologyElement.TYPE_PACKET_LAYER);
- evt.freeze();
+ sw.freeze();
OnosInstanceId onosInstanceId =
new OnosInstanceId(ONOS_INSTANCE_NAME);
@@ -335,7 +335,7 @@
= TopologyEvent.class.getDeclaredConstructor(SwitchData.class,
OnosInstanceId.class);
swConst.setAccessible(true);
- TopologyEvent obj = swConst.newInstance(evt, onosInstanceId);
+ TopologyEvent obj = swConst.newInstance(sw, onosInstanceId);
Result result = benchType(obj, EqualityCheck.TO_STRING);
results.add(result);