From 479e1cb3dc0659cc33cca86ed78ae1c82cb43cc1 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 4 Jan 2016 15:49:55 +0200 Subject: [PATCH] fix a stupid bug --- .../fortsoft/pf4j/processor/ExtensionAnnotationProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> 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()); }