From: Decebal Suiu Date: Sat, 20 Feb 2016 03:13:00 +0000 (+0200) Subject: Fix string format placeholder X-Git-Tag: release-0.13.0~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=332a0ae2645a9ef1876ad9ed9850d50c543df45a;p=pf4j.git Fix string format placeholder --- diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java b/pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java index 80dd430..0695bf2 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java @@ -53,7 +53,7 @@ public class ExtensionAnnotationProcessor extends AbstractProcessor { public synchronized void init(ProcessingEnvironment processingEnv) { super.init(processingEnv); - info("{}.init()", ExtensionAnnotationProcessor.class); + info("%s%.init()", ExtensionAnnotationProcessor.class); storage = createStorage(); } @@ -84,7 +84,7 @@ public class ExtensionAnnotationProcessor extends AbstractProcessor { return false; } - info("Processing @{}", Extension.class); + info("Processing @%s%", Extension.class); for (Element element : roundEnv.getElementsAnnotatedWith(Extension.class)) { // check if @Extension is put on class and not on method or constructor if (!(element instanceof TypeElement)) {