Fix unimplemented module 50/4350/1
authorRobert Varga <rovarga@cisco.com>
Fri, 17 Jan 2014 11:16:53 +0000 (12:16 +0100)
committerRobert Varga <rovarga@cisco.com>
Fri, 17 Jan 2014 11:16:53 +0000 (12:16 +0100)
Change-Id: I6c8a37361ea2305ec3d085fb231e6f0ca651ffc8
Signed-off-by: Robert Varga <rovarga@cisco.com>
pcep/impl-config/src/main/java/org/opendaylight/controller/config/yang/pcep/impl/StatefulPCEPParserModule.java

index 9321d17cedd383475da6eb83755a89c01a8a8bb6..9ceebfbc1f386fd7028d37ff5a87e20337888289 100644 (file)
  */
 package org.opendaylight.controller.config.yang.pcep.impl;
 
+import org.opendaylight.protocol.pcep.impl.StatefulActivator;
+
 /**
-*
-*/
+ *
+ */
 public final class StatefulPCEPParserModule extends org.opendaylight.controller.config.yang.pcep.impl.AbstractStatefulPCEPParserModule {
 
        public StatefulPCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
@@ -33,14 +35,8 @@ public final class StatefulPCEPParserModule extends org.opendaylight.controller.
                super(identifier, dependencyResolver, oldModule, oldInstance);
        }
 
-       @Override
-       protected void customValidation() {
-               // Add custom validation for module attributes here.
-       }
-
        @Override
        public java.lang.AutoCloseable createInstance() {
-               // TODO:implement
-               throw new java.lang.UnsupportedOperationException("Unimplemented stub method");
+               return new StatefulActivator();
        }
 }