/*
- * 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,
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);
return moduleElement;
}
-
}