Remove deprecated static factories
Change-Id: I69a21b769ea6dc07597618330ba06ce7a11d392d
diff --git a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java
index a9455b6..5f2c13f 100644
--- a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java
+++ b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java
@@ -141,13 +141,6 @@
protected OFVersion ofVersion;
protected OFFactory factory;
- // deprecated in 1.10.0
- @Deprecated
- protected OFFactory factory13;
- // deprecated in 1.10.0
- @Deprecated
- protected OFFactory factory10;
-
/** transaction Ids to use during handshake. Since only one thread
* calls into an OFChannelHandler instance, we don't need atomic.
* We will count down
@@ -195,8 +188,6 @@
this.state = ChannelState.INIT;
this.pendingPortStatusMsg = new CopyOnWriteArrayList<>();
this.portDescReplies = new ArrayList<>();
- factory13 = OFFactories.getFactory(OFVersion.OF_13);
- factory10 = OFFactories.getFactory(OFVersion.OF_10);
duplicateDpidFound = Boolean.FALSE;
}