cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r494755 - /incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java
Date Wed, 10 Jan 2007 07:35:26 GMT
Author: tli
Date: Tue Jan  9 23:35:25 2007
New Revision: 494755

URL: http://svn.apache.org/viewvc?view=rev&rev=494755
Log:
CXF-359 fix the holder boxifying type error

Modified:
    incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java

Modified: incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java?view=diff&rev=494755&r1=494754&r2=494755
==============================================================================
--- incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java
(original)
+++ incubator/cxf/trunk/tools/common/src/main/java/org/apache/cxf/tools/util/ProcessorUtil.java
Tue Jan  9 23:35:25 2007
@@ -285,6 +285,12 @@
             }          
         } 
         
+        if (boxify) {
+            Class cls = JAXBUtils.holderClass(jtype); 
+            if (cls != null) {
+                jtype = cls.getName();
+            }
+        }
         
         return jtype;
     }



Mime
View raw message