diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2016-02-20 05:13:00 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2016-02-20 05:13:00 +0200 |
commit | 332a0ae2645a9ef1876ad9ed9850d50c543df45a (patch) | |
tree | 933cf785bee5c46d71a953a6384221d38b5f5f50 | |
parent | 32b8a03e769a2fe98492fba2c2c0e778cda8cb61 (diff) | |
download | pf4j-332a0ae2645a9ef1876ad9ed9850d50c543df45a.tar.gz pf4j-332a0ae2645a9ef1876ad9ed9850d50c543df45a.zip |
Fix string format placeholder
-rw-r--r-- | pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java | 4 |
1 files 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)) { |