Fix checkstyle issues to enforce it
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / runtime / ModuleRuntime.java
index 040950f3c3d9ea1666c8b8bbb071ead85b593997..67fd458db77953fb827711447ac35c4505e617ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2015, 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,
@@ -27,15 +27,15 @@ public class ModuleRuntime {
 
     private ObjectName findRoot(Collection<ObjectName> runtimeBeanOns) {
         for (ObjectName objectName : runtimeBeanOns) {
-            if (objectName.getKeyPropertyList().size() == 3){
+            if (objectName.getKeyPropertyList().size() == 3) {
                 return objectName;
             }
         }
         throw new IllegalStateException("Root runtime bean not found among " + runtimeBeanOns);
     }
 
-    public Element toXml(String namespace, Collection<ObjectName> runtimeBeanOns,
-                         Document document, ModuleConfig moduleConfig, ObjectName configBeanON, final EnumResolver enumResolver) {
+    public Element toXml(String namespace, Collection<ObjectName> runtimeBeanOns, Document document,
+            ModuleConfig moduleConfig, ObjectName configBeanON, final EnumResolver enumResolver) {
 
         Element moduleElement = moduleConfig.toXml(configBeanON, document, namespace, enumResolver);
 
@@ -49,5 +49,4 @@ public class ModuleRuntime {
 
         return moduleElement;
     }
-
 }