aboutsummaryrefslogtreecommitdiffstats
path: root/pf4j
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2016-01-04 15:49:55 +0200
committerDecebal Suiu <decebal.suiu@gmail.com>2016-01-04 15:49:55 +0200
commit479e1cb3dc0659cc33cca86ed78ae1c82cb43cc1 (patch)
tree7642dde4e9550e16e3476a3341d0b8788098a8df /pf4j
parent342825b1ef8c7a343101168a888bdc4cfcc5dc31 (diff)
downloadpf4j-479e1cb3dc0659cc33cca86ed78ae1c82cb43cc1.tar.gz
pf4j-479e1cb3dc0659cc33cca86ed78ae1c82cb43cc1.zip
fix a stupid bug
Diffstat (limited to 'pf4j')
-rw-r--r--pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java2
1 files changed, 1 insertions, 1 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 d0ffd6a..60508be 100644
--- a/pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java
+++ b/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());
}