Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / CommitInfo.java
index c0447bfb32c3705d435a51f18e58617bb473f905..eb7fd380cf4489f685e0ec9535eee62e4ff2726d 100644 (file)
@@ -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,
@@ -25,17 +25,18 @@ public class CommitInfo {
     private final List<DestroyedModule> destroyedFromPreviousTransactions;
     private final Map<ModuleIdentifier, ModuleInternalTransactionalInfo> commitMap;
 
-    public CommitInfo(List<DestroyedModule> destroyedFromPreviousTransactions,
-            Map<ModuleIdentifier, ModuleInternalTransactionalInfo> commitMap) {
-        this.destroyedFromPreviousTransactions = Collections
-                .unmodifiableList(destroyedFromPreviousTransactions);
+    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.
+     * 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;