cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1058070 - /cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
Date Wed, 12 Jan 2011 11:05:42 GMT
Author: ffang
Date: Wed Jan 12 11:05:42 2011
New Revision: 1058070

URL: http://svn.apache.org/viewvc?rev=1058070&view=rev
Log:
[CXF-3238]also fix the inner module case

Modified:
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java?rev=1058070&r1=1058069&r2=1058070&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/idl/TypesUtils.java
Wed Jan 12 11:05:42 2011
@@ -109,7 +109,7 @@ public final class TypesUtils {
             if (corbaType instanceof Const) {
                 Const corbaConst = (Const) corbaType;
                 String name = corbaConst.getQName().getLocalPart();
-                if (name.equals(node.getText())) {
+                if (name.endsWith(node.getText())) {
                     return corbaConst.getValue();
                 }
             }             



Mime
View raw message