commit | d95f9c29f232f9f3ce4d0f6a3d5f8a4e774c9020 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Mon Jul 02 14:44:33 2012 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Mon Jul 02 14:44:33 2012 +0000 |
tree | 0d0bff0cd344731446acbbfa0a0892581ecce08d | |
parent | 8e11931b63919132a1c471ebaead51e47c23c1a8 [diff] |
FELIX-3550 : Reimplement the SCR Generator git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1356266 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java index 9283327..44e6239 100644 --- a/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java +++ b/scrplugin/annotations/src/main/java/org/apache/felix/scrplugin/processing/SCRAnnotationProcessor.java
@@ -441,10 +441,10 @@ } // options - final ClassAnnotation[] options = (ClassAnnotation[])ad.getValue("options"); + final ScannedAnnotation[] options = (ScannedAnnotation[])ad.getValue("options"); if (options != null) { final List<String> propertyOptions = new ArrayList<String>(); - for(final ClassAnnotation po : options) { + for(final ScannedAnnotation po : options) { propertyOptions.add(po.getStringValue("name", "")); propertyOptions.add(po.getStringValue("value", "")); }