X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fimpl%2Fclustering%2FAbstractEntityOwnershipCandidateRegistration.java;fp=opendaylight%2Fmd-sal%2Fsal-common-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fimpl%2Fclustering%2FAbstractEntityOwnershipCandidateRegistration.java;h=0000000000000000000000000000000000000000;hb=0c877a510c8da62881b73ceff8b1ecdeaf3f8cd2;hp=a0f41c7d836eaef0729df0fad7ff7946a803a932;hpb=5e60027f1ed6b966608d8020df47c6ec8fe16716;p=controller.git diff --git a/opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/clustering/AbstractEntityOwnershipCandidateRegistration.java b/opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/clustering/AbstractEntityOwnershipCandidateRegistration.java deleted file mode 100644 index a0f41c7d83..0000000000 --- a/opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/clustering/AbstractEntityOwnershipCandidateRegistration.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright (c) 2015 Brocade Communications 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 - */ -package org.opendaylight.controller.md.sal.common.impl.clustering; - -import com.google.common.base.Preconditions; -import javax.annotation.Nonnull; -import org.opendaylight.controller.md.sal.common.api.clustering.Entity; -import org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipCandidateRegistration; -import org.opendaylight.yangtools.concepts.AbstractObjectRegistration; - -/** - * Abstract base class for an EntityOwnershipCandidateRegistration. - * - * @author Thomas Pantelis - */ -public abstract class AbstractEntityOwnershipCandidateRegistration extends AbstractObjectRegistration - implements EntityOwnershipCandidateRegistration { - - protected AbstractEntityOwnershipCandidateRegistration(@Nonnull Entity entity) { - super(Preconditions.checkNotNull(entity, "entity cannot be null")); - } -}