]> source.dussan.org Git - pf4j.git/commitdiff
Fix string format placeholder
authorDecebal Suiu <decebal.suiu@gmail.com>
Sat, 20 Feb 2016 03:13:00 +0000 (05:13 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Sat, 20 Feb 2016 03:13:00 +0000 (05:13 +0200)
pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

index 80dd430e6339cf91cea8977466f5daca6a27de00..0695bf2dd4fbba4c90e095db0de43d470f87d066 100644 (file)
@@ -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)) {