X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fconfig%2Fconfig-manager%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fmanager%2Fimpl%2FCommitInfo.java;h=eb7fd380cf4489f685e0ec9535eee62e4ff2726d;hb=2b78ca93f44c372fd72927db6cbd65f5d8387b49;hp=28732d8f68ea6e53832e954ff388681c608bc26b;hpb=5b86a90b046000688c328d590a5c6ae945f6d2a5;p=controller.git diff --git a/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/CommitInfo.java b/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/CommitInfo.java index 28732d8f68..eb7fd380cf 100644 --- a/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/CommitInfo.java +++ b/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/CommitInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2013, 2017 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, @@ -10,9 +10,7 @@ package org.opendaylight.controller.config.manager.impl; import java.util.Collections; import java.util.List; import java.util.Map; - import javax.annotation.concurrent.Immutable; - import org.opendaylight.controller.config.api.ModuleIdentifier; import org.opendaylight.controller.config.manager.impl.dependencyresolver.DestroyedModule; import org.opendaylight.controller.config.manager.impl.dependencyresolver.ModuleInternalTransactionalInfo; @@ -27,17 +25,18 @@ public class CommitInfo { private final List destroyedFromPreviousTransactions; private final Map commitMap; - public CommitInfo(List destroyedFromPreviousTransactions, - Map commitMap) { - this.destroyedFromPreviousTransactions = Collections - .unmodifiableList(destroyedFromPreviousTransactions); + public CommitInfo(final List destroyedFromPreviousTransactions, + final Map commitMap) { + this.destroyedFromPreviousTransactions = Collections.unmodifiableList(destroyedFromPreviousTransactions); this.commitMap = Collections.unmodifiableMap(commitMap); } /** - * Get ordered list of modules that can be closed in the same order, i.e. - * first element will be a leaf on which no other module depends, n-th - * element can only have dependencies with index smaller than n. + * Get ordered list of modules that can be closed in the same order, i.e. first + * element will be a leaf on which no other module depends, n-th element can + * only have dependencies with index smaller than n. + * + * @return list of destroyed modules */ public List getDestroyedFromPreviousTransactions() { return destroyedFromPreviousTransactions;