Fix sonar warnings in config-util.
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / strategy / EditStrategyType.java
index 47f5078967068b85eb2fa359a773c408562d906c..9954592b0a624268f446cfe20ae7e12174533b5d 100644 (file)
@@ -48,9 +48,9 @@ public enum EditStrategyType {
                 throw new OperationNotPermittedException(String.format("With "
                         + defaultStrategy
                         + " as default-operation operations on module elements are not permitted since the default option is restrictive"),
-                        DocumentedException.ErrorType.application,
-                        DocumentedException.ErrorTag.operation_failed,
-                        DocumentedException.ErrorSeverity.error);
+                        DocumentedException.ErrorType.APPLICATION,
+                        DocumentedException.ErrorTag.OPERATION_FAILED,
+                        DocumentedException.ErrorSeverity.ERROR);
             }
         }