NodeConnector custom type
[controller.git] / opendaylight / protocol_plugins / stub / src / main / java / org / opendaylight / controller / protocol_plugins / stub / internal / StubNodeFactory.java
index c2ce473303632b90602986b806690a5f225146e4..5b8ee12e567791f963caee163415f1db41616edf 100644 (file)
@@ -35,7 +35,7 @@ public class StubNodeFactory implements INodeFactory
       void stop() {
       }
       
-      public Node fromString(String nodeId, String nodeType){
+      public Node fromString(String nodeType, String nodeId){
           if(nodeType.equals("STUB"))
               try{
                   return new Node("STUB", Integer.parseInt(nodeId));