commit | e1f9dc0bccc9bdb8d0bd56ac112cfaad5521390b | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Mon Feb 04 20:17:50 2008 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Mon Feb 04 20:17:50 2008 +0000 |
tree | ac6c69af1133f11e8c21fb77bf4bbb8e0a3a4cc0 | |
parent | 4f8a2e00e820669b5e6b498212d82c0408df37ab [diff] |
Clear properties for each source. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@618418 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/PropertyHandler.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/PropertyHandler.java index f8cab9d..ded5f94 100644 --- a/scrplugin/src/main/java/org/apache/felix/scrplugin/PropertyHandler.java +++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/PropertyHandler.java
@@ -279,4 +279,8 @@ this.field = f; } } + + public void clear() { + this.properties.clear(); + } }
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java index b36bc95..94e3d04 100644 --- a/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java +++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/SCRDescriptorMojo.java
@@ -226,6 +226,7 @@ // collect references from class tags and fields final Map references = new HashMap(); + this.propertyHandler.clear(); JavaClassDescription currentDescription = description; do {