Fix sonar warnings in config-util.
[controller.git] / opendaylight / config / config-manager-facade-xml / src / main / java / org / opendaylight / controller / config / facade / xml / strategy / MergeEditConfigStrategy.java
index 1a5714186cb141749efaac7d8b07cacc79ffa3ac..5f0b23b9ff17388063e2c00493b51365a948f5a5 100644 (file)
@@ -40,9 +40,9 @@ public class MergeEditConfigStrategy extends AbstractEditConfigStrategy {
                 String.format("Unable to handle missing instance, no missing instances should appear at this point, missing: %s : %s ",
                         module,
                         instance),
-                DocumentedException.ErrorType.application,
-                DocumentedException.ErrorTag.operation_failed,
-                DocumentedException.ErrorSeverity.error);
+                DocumentedException.ErrorType.APPLICATION,
+                DocumentedException.ErrorTag.OPERATION_FAILED,
+                DocumentedException.ErrorSeverity.ERROR);
     }
 
     @Override
@@ -72,9 +72,9 @@ public class MergeEditConfigStrategy extends AbstractEditConfigStrategy {
                         on,
                         configAttributeEntry.getKey(),
                         configAttributeEntry.getValue()),
-                        DocumentedException.ErrorType.application,
-                        DocumentedException.ErrorTag.operation_failed,
-                        DocumentedException.ErrorSeverity.error);
+                        DocumentedException.ErrorType.APPLICATION,
+                        DocumentedException.ErrorTag.OPERATION_FAILED,
+                        DocumentedException.ErrorSeverity.ERROR);
             }
         }
     }