Optimized code
diff --git a/src/main/java/net/onrc/onos/graph/RamCloudDBOperation.java b/src/main/java/net/onrc/onos/graph/RamCloudDBOperation.java
index 80c3109..2f974cc 100644
--- a/src/main/java/net/onrc/onos/graph/RamCloudDBOperation.java
+++ b/src/main/java/net/onrc/onos/graph/RamCloudDBOperation.java
@@ -56,11 +56,6 @@
}
@Override
- public IPortObject newPort(String dpid, Short portNum) {
- return super.newPort(dpid, portNum);
- }
-
- @Override
public IPortObject searchPort(String dpid, Short number) {
final FramedGraph<RamCloudGraph> fg = conn.getFramedGraph();
return searchPort(dpid, number, fg);
diff --git a/src/main/java/net/onrc/onos/graph/TitanDBOperation.java b/src/main/java/net/onrc/onos/graph/TitanDBOperation.java
index 9d9871b..aa42bfd 100644
--- a/src/main/java/net/onrc/onos/graph/TitanDBOperation.java
+++ b/src/main/java/net/onrc/onos/graph/TitanDBOperation.java
@@ -34,11 +34,6 @@
return searchSwitch(dpid, fg);
}
-
- @Override
- public IPortObject newPort(String dpid, Short portNum) {
- return super.newPort(dpid, portNum);
- }
@Override
public Iterable<ISwitchObject> getActiveSwitches() {