Author: shane.bryzak(a)jboss.com
Date: 2009-12-02 06:41:03 -0500 (Wed, 02 Dec 2009)
New Revision: 11715
Modified:
modules/trunk/remoting/src/main/java/org/jboss/seam/remoting/AnnotationsParser.java
Log:
fix parsing of multiple qualifiers
Modified:
modules/trunk/remoting/src/main/java/org/jboss/seam/remoting/AnnotationsParser.java
===================================================================
---
modules/trunk/remoting/src/main/java/org/jboss/seam/remoting/AnnotationsParser.java 2009-12-02
11:40:36 UTC (rev 11714)
+++
modules/trunk/remoting/src/main/java/org/jboss/seam/remoting/AnnotationsParser.java 2009-12-02
11:41:03 UTC (rev 11715)
@@ -190,9 +190,15 @@
{
for (Node nloNode : nlo.nodes)
{
- if (nloNode instanceof
org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation)
+ if (nloNode instanceof NodeSequence)
{
-
annotations.add((org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation)
nloNode);
+ for (Node cn : ((NodeSequence) nloNode).nodes)
+ {
+ if (cn instanceof
org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation)
+ {
+
annotations.add((org.jboss.seam.remoting.annotationparser.syntaxtree.Annotation) cn);
+ }
+ }
}
}
}