Remove CSS code
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / CommitInfo.java
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
deleted file mode 100644 (file)
index eb7fd38..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * 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,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-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;
-
-/**
- * Structure obtained during first phase commit, contains destroyed modules from
- * previous transactions that need to be closed and all committed modules with
- * meta data.
- */
-@Immutable
-public class CommitInfo {
-    private final List<DestroyedModule> destroyedFromPreviousTransactions;
-    private final Map<ModuleIdentifier, ModuleInternalTransactionalInfo> commitMap;
-
-    public CommitInfo(final List<DestroyedModule> destroyedFromPreviousTransactions,
-            final Map<ModuleIdentifier, ModuleInternalTransactionalInfo> 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.
-     *
-     * @return list of destroyed modules
-     */
-    public List<DestroyedModule> getDestroyedFromPreviousTransactions() {
-        return destroyedFromPreviousTransactions;
-    }
-
-    public Map<ModuleIdentifier, ModuleInternalTransactionalInfo> getCommitted() {
-        return commitMap;
-    }
-}