incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmidd...@apache.org
Subject svn commit: r543568 - /incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
Date Fri, 01 Jun 2007 18:30:20 GMT
Author: dmiddlem
Date: Fri Jun  1 11:30:19 2007
New Revision: 543568

URL: http://svn.apache.org/viewvc?view=rev&rev=543568
Log:
Commit for YOKO-366:
* Adding support for anonymous strings and wstrings

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

Modified: incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java?view=diff&rev=543568&r1=543567&r2=543568
==============================================================================
--- incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
(original)
+++ incubator/yoko/trunk/bindings/src/main/java/org/apache/yoko/bindings/corba/types/CorbaHandlerUtils.java
Fri Jun  1 11:30:19 2007
@@ -466,7 +466,9 @@
                 break;
             case TCKind._tk_string:
             case TCKind._tk_wstring:
-                // These will be the case if we have anonymous strings
+                // These can be handled just like regular strings
+                handler = new CorbaPrimitiveHandler(name, idlType, tc, type);
+                result = new CorbaPrimitiveListener(handler);
                 break;
             case TCKind._tk_struct:
                 handler = new CorbaStructHandler(name, idlType, tc, type);
@@ -523,7 +525,8 @@
                 break;
             case TCKind._tk_string:
             case TCKind._tk_wstring:
-                // These will be the case if we have anonymous strings
+                // These can be handled just like regular strings
+                result = new CorbaPrimitiveTypeEventProducer(handler);
                 break;
             case TCKind._tk_struct:
                 if (handler.isAnonymousType()) {



Mime
View raw message