summaryrefslogtreecommitdiffstats
path: root/demo
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2019-05-02 14:11:30 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2019-05-02 14:11:30 +0300
commit1d36fcff75cfe38639fc1a8a28eefc79e8e7286f (patch)
tree8eb09080a052f54537632dd25ecb2b3b5b985698 /demo
parenta6ce0a6ace6c03a7369236350b5f8e4a61e4c381 (diff)
downloadpf4j-1d36fcff75cfe38639fc1a8a28eefc79e8e7286f.tar.gz
pf4j-1d36fcff75cfe38639fc1a8a28eefc79e8e7286f.zip
Resolve #296
Diffstat (limited to 'demo')
-rw-r--r--demo/app/src/main/java/org/pf4j/demo/Boot.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/app/src/main/java/org/pf4j/demo/Boot.java b/demo/app/src/main/java/org/pf4j/demo/Boot.java
index 562f8f8..066a207 100644
--- a/demo/app/src/main/java/org/pf4j/demo/Boot.java
+++ b/demo/app/src/main/java/org/pf4j/demo/Boot.java
@@ -73,8 +73,8 @@ public class Boot {
}
System.out.println("Extension classes by classpath:");
- List<Class<Greeting>> greetingsClasses = pluginManager.getExtensionClasses(Greeting.class);
- for (Class<Greeting> greeting : greetingsClasses) {
+ List<Class<? extends Greeting>> greetingsClasses = pluginManager.getExtensionClasses(Greeting.class);
+ for (Class<? extends Greeting> greeting : greetingsClasses) {
System.out.println(" Class: " + greeting.getCanonicalName());
}