Remove duplicate class 72/29172/7
authorClaudio D. Gasparini <cgaspari@cisco.com>
Tue, 3 Nov 2015 06:36:45 +0000 (07:36 +0100)
committerMilos Fabian <milfabia@cisco.com>
Thu, 5 Nov 2015 08:29:46 +0000 (08:29 +0000)
Remove duplicate and unnecesaries classes

Change-Id: I5835cb41ef3dfd881478b5ed93930c9cc87cf066
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModule.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModuleFactory.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModule.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModuleFactory.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModule.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModuleFactory.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModule.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModuleFactory.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModule.java [deleted file]
pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModuleFactory.java [deleted file]

diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModule.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModule.java
deleted file mode 100644 (file)
index 1c7c349..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-base
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Dec 03 09:34:06 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-import org.opendaylight.protocol.pcep.impl.Activator;
-
-/**
- *
- */
-public final class BasePCEPParserModule extends org.opendaylight.controller.config.yang.pcep.impl.AbstractBasePCEPParserModule {
-
-    public BasePCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(identifier, dependencyResolver);
-    }
-
-    public BasePCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, final BasePCEPParserModule oldModule,
-            final java.lang.AutoCloseable oldInstance) {
-
-        super(identifier, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        return new Activator();
-    }
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModuleFactory.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/BasePCEPParserModuleFactory.java
deleted file mode 100644 (file)
index 38c8e4c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-base
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Dec 03 09:34:06 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-/**
-*
-*/
-public class BasePCEPParserModuleFactory extends org.opendaylight.controller.config.yang.pcep.impl.AbstractBasePCEPParserModuleFactory {
-
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModule.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModule.java
deleted file mode 100644 (file)
index 6d099c5..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-ietf-initiated00
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Jan 22 14:05:37 CET 2014
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-import org.opendaylight.protocol.pcep.ietf.initiated00.CrabbeInitiatedActivator;
-
-/**
-*
-*/
-public final class IetfInitiated00PCEPParserModule extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractIetfInitiated00PCEPParserModule {
-
-    public IetfInitiated00PCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(identifier, dependencyResolver);
-    }
-
-    public IetfInitiated00PCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
-            final IetfInitiated00PCEPParserModule oldModule, final java.lang.AutoCloseable oldInstance) {
-
-        super(identifier, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        return new CrabbeInitiatedActivator();
-    }
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModuleFactory.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfInitiated00PCEPParserModuleFactory.java
deleted file mode 100644 (file)
index 1eef3ee..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-ietf-initiated00
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Jan 22 14:05:37 CET 2014
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-/**
-*
-*/
-public class IetfInitiated00PCEPParserModuleFactory extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractIetfInitiated00PCEPParserModuleFactory {
-
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModule.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModule.java
deleted file mode 100644 (file)
index d02aa64..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-ietf-stateful07
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Jan 22 14:05:37 CET 2014
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-import org.opendaylight.protocol.pcep.ietf.stateful07.StatefulActivator;
-
-/**
-*
-*/
-public final class IetfStateful07PCEPParserModule extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractIetfStateful07PCEPParserModule {
-
-    public IetfStateful07PCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(identifier, dependencyResolver);
-    }
-
-    public IetfStateful07PCEPParserModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
-            final IetfStateful07PCEPParserModule oldModule, final java.lang.AutoCloseable oldInstance) {
-
-        super(identifier, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        return new StatefulActivator();
-    }
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModuleFactory.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/IetfStateful07PCEPParserModuleFactory.java
deleted file mode 100644 (file)
index 7043835..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: odl-pcep-impl-cfg  yang module local name: pcep-parser-ietf-stateful07
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Jan 22 14:05:37 CET 2014
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-/**
-*
-*/
-public class IetfStateful07PCEPParserModuleFactory extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractIetfStateful07PCEPParserModuleFactory {
-
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModule.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModule.java
deleted file mode 100644 (file)
index d5fd189..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: pcep-impl  yang module local name: pcep-dispatcher-impl
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Nov 06 13:16:39 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-import org.opendaylight.controller.config.api.JmxAttributeValidationException;
-import org.opendaylight.protocol.pcep.impl.DefaultPCEPSessionNegotiatorFactory;
-import org.opendaylight.protocol.pcep.impl.PCEPDispatcherImpl;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.open.object.Open;
-
-/**
- *
- */
-public final class PCEPDispatcherImplModule extends org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPDispatcherImplModule {
-
-    public PCEPDispatcherImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(name, dependencyResolver);
-    }
-
-    public PCEPDispatcherImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, final PCEPDispatcherImplModule oldModule,
-            final java.lang.AutoCloseable oldInstance) {
-        super(name, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public void validate() {
-        super.validate();
-        JmxAttributeValidationException.checkNotNull(getMaxUnknownMessages(), "value is not set.", maxUnknownMessagesJmxAttribute);
-        JmxAttributeValidationException.checkCondition(getMaxUnknownMessages() > 0, "Parameter 'maxUnknownMessages' "
-                + "must be greater than 0", maxUnknownMessagesJmxAttribute);
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        Open localPrefs = getPcepSessionProposalFactoryDependency().getSessionProposal(null, 0);
-        DefaultPCEPSessionNegotiatorFactory negFactory = new DefaultPCEPSessionNegotiatorFactory(getTimerDependency(), localPrefs, getMaxUnknownMessages());
-
-        final PCEPDispatcherImpl instance = new PCEPDispatcherImpl(getPcepExtensionsDependency().getMessageHandlerRegistry(), negFactory, getBossGroupDependency(), getWorkerGroupDependency(), getMd5ServerChannelFactoryDependency());
-        return instance;
-    }
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModuleFactory.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPDispatcherImplModuleFactory.java
deleted file mode 100644 (file)
index b54ca96..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: pcep-impl  yang module local name: pcep-dispatcher-impl
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Nov 06 13:16:39 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-/**
-*
-*/
-public class PCEPDispatcherImplModuleFactory extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPDispatcherImplModuleFactory {
-
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModule.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModule.java
deleted file mode 100644 (file)
index 36866ed..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: pcep-impl  yang module local name: pcep-session-proposal-factory-impl
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Nov 06 13:16:39 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-import java.net.InetSocketAddress;
-
-import org.opendaylight.controller.config.api.JmxAttributeValidationException;
-import org.opendaylight.protocol.pcep.PCEPSessionProposalFactory;
-import org.opendaylight.protocol.pcep.impl.BasePCEPSessionProposalFactory;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev131005.open.object.Open;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- *
- */
-public final class PCEPSessionProposalFactoryImplModule extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPSessionProposalFactoryImplModule {
-
-    private static final Logger LOG = LoggerFactory.getLogger(PCEPSessionProposalFactoryImplModule.class);
-
-    public PCEPSessionProposalFactoryImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
-        super(name, dependencyResolver);
-    }
-
-    public PCEPSessionProposalFactoryImplModule(final org.opendaylight.controller.config.api.ModuleIdentifier name,
-            final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
-            final PCEPSessionProposalFactoryImplModule oldModule, final java.lang.AutoCloseable oldInstance) {
-        super(name, dependencyResolver, oldModule, oldInstance);
-    }
-
-    @Override
-    public void customValidation() {
-        JmxAttributeValidationException.checkNotNull(getDeadTimerValue(), "value is not set.", deadTimerValueJmxAttribute);
-        JmxAttributeValidationException.checkNotNull(getKeepAliveTimerValue(), "value is not set.", keepAliveTimerValueJmxAttribute);
-        if (getKeepAliveTimerValue() != 0) {
-            JmxAttributeValidationException.checkCondition(getKeepAliveTimerValue() >= 1, "minimum value is 1.",
-                    keepAliveTimerValueJmxAttribute);
-            if (getDeadTimerValue() != 0 && (getDeadTimerValue() / getKeepAliveTimerValue() != 4)) {
-                LOG.warn("DeadTimerValue should be 4 times greater than KeepAliveTimerValue");
-            }
-        }
-    }
-
-    @Override
-    public java.lang.AutoCloseable createInstance() {
-        final BasePCEPSessionProposalFactory inner = new BasePCEPSessionProposalFactory(getDeadTimerValue(), getKeepAliveTimerValue());
-        return new PCEPSessionProposalFactoryCloseable(inner);
-    }
-
-    private static final class PCEPSessionProposalFactoryCloseable implements PCEPSessionProposalFactory, AutoCloseable {
-
-        private final BasePCEPSessionProposalFactory inner;
-
-        public PCEPSessionProposalFactoryCloseable(final BasePCEPSessionProposalFactory inner) {
-            this.inner = inner;
-        }
-
-        @Override
-        public void close() {
-            // Nothing to do
-        }
-
-        @Override
-        public Open getSessionProposal(final InetSocketAddress inetSocketAddress, final int i) {
-            return this.inner.getSessionProposal(inetSocketAddress, i);
-        }
-    }
-}
diff --git a/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModuleFactory.java b/pcep/impl/src/main/resources/org/opendaylight/controller/config/yang/pcep/impl/PCEPSessionProposalFactoryImplModuleFactory.java
deleted file mode 100644 (file)
index fef911e..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: pcep-impl  yang module local name: pcep-session-proposal-factory-impl
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Wed Nov 06 13:16:39 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.pcep.impl;
-
-/**
-*
-*/
-public class PCEPSessionProposalFactoryImplModuleFactory extends
-        org.opendaylight.controller.config.yang.pcep.impl.AbstractPCEPSessionProposalFactoryImplModuleFactory {
-
-}