From 332a0ae2645a9ef1876ad9ed9850d50c543df45a Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Sat, 20 Feb 2016 05:13:00 +0200 Subject: [PATCH] Fix string format placeholder --- .../fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.39.5