Eliminate unneeded String.format()
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / DistributedDataStore.java
index ea7330ae23316a36637081142480a8acc781ba0c..0244eb37407d53a7de46a44427e4ef571cd5bf49 100644 (file)
@@ -265,7 +265,8 @@ public class DistributedDataStore implements DistributedDataStoreInterface, Sche
             } catch (Exception e){
                 lastException = e;
                 Uninterruptibles.sleepUninterruptibly(100, TimeUnit.MILLISECONDS);
-                LOG.debug(String.format("Could not create actor %s because of %s - waiting for sometime before retrying (retry count = %d)", shardManagerId, e.getMessage(), i));
+                LOG.debug("Could not create actor {} because of {} - waiting for sometime before retrying (retry count = {})",
+                    shardManagerId, e.getMessage(), i);
             }
         }