Fix string format bug found by error prone

Change-Id: I2ede9a739be18bafd3c70c2d0e8023ae8209e57d
diff --git a/protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/MeterEntryCodec.java b/protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/MeterEntryCodec.java
index c30e2c8..9019613 100644
--- a/protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/MeterEntryCodec.java
+++ b/protocols/p4runtime/ctl/src/main/java/org/onosproject/p4runtime/ctl/MeterEntryCodec.java
@@ -203,7 +203,7 @@
 
         PiMeterId piMeterId = meterIdMap.get(meterId);
         if (!pipeconf.pipelineModel().meter(piMeterId).isPresent()) {
-            throw new EncodeException(format("Unable to find meter '{}' in pipeline model",  meterId));
+            throw new EncodeException(format("Unable to find meter '%s' in pipeline model",  meterId));
         }
 
         PiMeterType piMeterType = pipeconf.pipelineModel().meter(piMeterId).get().meterType();