incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r555673 - /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java
Date Thu, 12 Jul 2007 15:45:21 GMT
Author: bravi
Date: Thu Jul 12 08:45:20 2007
New Revision: 555673

URL: http://svn.apache.org/viewvc?view=rev&rev=555673
Log:
[YOKO-402] - CorbaUnionListener should propagate the xsi:type call to the CorbaAnyListener
to make the Any's work inside the union.

Modified:
    incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java?view=diff&rev=555673&r1=555672&r2=555673
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaUnionListener.java
Thu Jul 12 08:45:20 2007
@@ -163,8 +163,8 @@
                                                                                    typeMap,
                                                                                    serviceInfo);
             ((CorbaUnionHandler)handler).addCase(content);
-        } else {
-            super.processWriteAttribute(prefix, namespaceURI, localName, val);
+        } else if (currentTypeListener != null) {
+            currentTypeListener.processWriteAttribute(prefix, namespaceURI, localName, val);
         }
     }
 



Mime
View raw message