Fix slf4j usage errors found by checkstyle-logging
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / schema / tree / OrderedListTest.java
index f9ce1c1b30b5acd925a823f5acd55fa0b102fb76..2a5e972b25e35540f5a00ced075f087b2f6a4a07 100644 (file)
@@ -186,7 +186,7 @@ public class OrderedListTest {
             inMemoryDataTree.validate(treeModification);
             inMemoryDataTree.commit(inMemoryDataTree.prepare(treeModification));
         } catch (final IllegalArgumentException ex) {
-            LOG.debug("IllegalArgumentException was thrown as expected: {}", ex);
+            LOG.debug("IllegalArgumentException was thrown as expected", ex);
             assertTrue(ex.getMessage().contains("Metadata not available for modification NodeModification"));
         }
 
@@ -235,7 +235,7 @@ public class OrderedListTest {
             fail("Exception should have been thrown.");
             inMemoryDataTree.commit(inMemoryDataTree.prepare(treeModification2));
         } catch (ConflictingModificationAppliedException ex) {
-            LOG.debug("ConflictingModificationAppliedException was thrown as expected: {}", ex);
+            LOG.debug("ConflictingModificationAppliedException was thrown as expected", ex);
             assertTrue(ex.getMessage().contains("Node was replaced by other transaction"));
         }