cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r817293 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java
Date Mon, 21 Sep 2009 15:37:24 GMT
Author: dkulp
Date: Mon Sep 21 15:37:24 2009
New Revision: 817293

URL: http://svn.apache.org/viewvc?rev=817293&view=rev
Log:
Fix the java_first_jaxws sample by fixing the ASMHelper to generate
proper field descriptions for maps

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java?rev=817293&r1=817292&r2=817293&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java (original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/common/util/ASMHelper.java Mon Sep
21 15:37:24 2009
@@ -113,12 +113,7 @@
             StringBuilder a = new StringBuilder(getClassCode(pt.getRawType()));
             a.setLength(a.length() - 1);
             a.append('<');
-            boolean first = true;
             for (Type t : pt.getActualTypeArguments()) {
-                if (!first) {
-                    a.append(" ,");
-                }
-                first = false;
                 a.append(getClassCode(t));  
             }
             a.append(">;");



Mime
View raw message