Fix slf4j usage errors found by checkstyle-logging
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / leafref / context / DataTreeCandidateValidatorTest3.java
index 1f2e1e9e98258153381e92b24023c5cdda1e65f9..37b9c34c8e5985b6f7f62f00e4ab939cfda227a6 100644 (file)
@@ -117,7 +117,7 @@ public class DataTreeCandidateValidatorTest3 {
         try {
             LeafRefValidatation.validate(writeDevicesCandidate, rootLeafRefContext);
         } catch (final LeafRefDataValidationFailedException e) {
-            LOG.debug("All validation errors:" + NEW_LINE + e.getMessage());
+            LOG.debug("All validation errors:{}{}", NEW_LINE, e.getMessage());
             assertEquals(6, e.getValidationsErrorsCount());
             exception = true;
         }
@@ -155,7 +155,7 @@ public class DataTreeCandidateValidatorTest3 {
         try {
             LeafRefValidatation.validate(mergeDevicesCandidate, rootLeafRefContext);
         } catch (final LeafRefDataValidationFailedException e) {
-            LOG.debug("All validation errors:" + NEW_LINE + e.getMessage());
+            LOG.debug("All validation errors:{}{}", NEW_LINE, e.getMessage());
             // :TODO verify errors count gz
             assertEquals(6, e.getValidationsErrorsCount());
             exception = true;
@@ -402,4 +402,4 @@ public class DataTreeCandidateValidatorTest3 {
 
         return devicesMapEntryBldr.build();
     }
-}
\ No newline at end of file
+}