Fix findbugs warnings
[controller.git] / opendaylight / md-sal / samples / clustering-test-app / provider / src / main / java / org / opendaylight / controller / clustering / it / listener / PeopleCarListener.java
index d76d0c7aba423bc4c626d9f8cf794b5052fdf72e..60bfc5644fa1e53d13229c52e83da884067ccec1 100644 (file)
@@ -60,7 +60,7 @@ public class PeopleCarListener implements CarPurchaseListener {
 
             @Override
             public void onFailure(final Throwable ex) {
-                LOG.error(String.format("Failed to add car-person entry: [%s]", carPerson), ex);
+                LOG.error("Failed to add car-person entry: [{}]", carPerson, ex);
             }
         }, MoreExecutors.directExecutor());
     }