Fix sonar warnings in config-util.
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / mapping / config / InstanceConfig.java
index 84fb06418af9570ae71eb91972a705aef9468b40..a66fd75dbddfd2a04a69d658b31b2c829284a7ff 100644 (file)
@@ -215,9 +215,9 @@ public final class InstanceConfig {
             if (!foundWithoutNamespaceNodes.isEmpty()){
                 throw new DocumentedException(String.format("Element %s present multiple times with different namespaces: %s, %s", name, foundConfigNodes,
                         foundWithoutNamespaceNodes),
-                        DocumentedException.ErrorType.application,
-                        DocumentedException.ErrorTag.invalid_value,
-                        DocumentedException.ErrorSeverity.error);
+                        DocumentedException.ErrorType.APPLICATION,
+                        DocumentedException.ErrorTag.INVALID_VALUE,
+                        DocumentedException.ErrorSeverity.ERROR);
             }
         }