Browse Source

fix a stupid bug

pull/85/head
Decebal Suiu 9 years ago
parent
commit
479e1cb3dc
  1. 2
      pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

2
pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

@ -115,7 +115,7 @@ public class ExtensionAnnotationProcessor extends AbstractProcessor {
for (Map.Entry<String, Set<String>> entry : oldExtensions.entrySet()) {
String extensionPoint = entry.getKey();
if (extensions.containsKey(extensionPoint)) {
entry.getValue().addAll(entry.getValue());
extensions.get(extensionPoint).addAll(entry.getValue());
} else {
extensions.put(extensionPoint, entry.getValue());
}

Loading…
Cancel
Save