]> source.dussan.org Git - pf4j.git/commitdiff
fix a stupid bug
authorDecebal Suiu <decebal.suiu@gmail.com>
Mon, 4 Jan 2016 13:49:55 +0000 (15:49 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Mon, 4 Jan 2016 13:49:55 +0000 (15:49 +0200)
pf4j/src/main/java/ro/fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java

index d0ffd6a3e45d974f3b3762824dd964288efaadf9..60508be9b970fb1a1db40c1836d714d23c0fb5f3 100644 (file)
@@ -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());
             }