X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2FDistributedEntityOwnershipCandidateRegistration.java;h=4d65c55b83e43e8ff1b1d1c74b4b316f103fb43b;hp=398671e660a7e92aaf13ec6eb3b8896e3d1b1b1c;hb=20a32e6459fd1e27e7669bf1ebc7742b96787b94;hpb=6b31b94c7c06711efd69f7fd456167026f34dc2e diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipCandidateRegistration.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipCandidateRegistration.java index 398671e660..4d65c55b83 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipCandidateRegistration.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipCandidateRegistration.java @@ -20,7 +20,8 @@ class DistributedEntityOwnershipCandidateRegistration extends AbstractObjectRegi implements DOMEntityOwnershipCandidateRegistration { private final DistributedEntityOwnershipService service; - DistributedEntityOwnershipCandidateRegistration(DOMEntity entity, DistributedEntityOwnershipService service) { + DistributedEntityOwnershipCandidateRegistration(final DOMEntity entity, + final DistributedEntityOwnershipService service) { super(entity); this.service = service; } @@ -29,11 +30,4 @@ class DistributedEntityOwnershipCandidateRegistration extends AbstractObjectRegi protected void removeRegistration() { service.unregisterCandidate(getInstance()); } - - @Override - public String toString() { - return "DistributedEntityOwnershipCandidateRegistration [entity=" + getInstance() + "]"; - } - - }