cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1390065 - /cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
Date Tue, 25 Sep 2012 19:16:39 GMT
Author: dkulp
Date: Tue Sep 25 19:16:38 2012
New Revision: 1390065

URL: http://svn.apache.org/viewvc?rev=1390065&view=rev
Log:
Merged revisions 1390059 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1390059 | dkulp | 2012-09-25 15:12:11 -0400 (Tue, 25 Sep 2012) | 3 lines

  [CXF-4507] Fix problem with null/empty array elements causing duplicate items in the array
  Patch from Kayvan Arianpour applied

........

Modified:
    cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java

Modified: cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java?rev=1390065&r1=1390064&r2=1390065&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
(original)
+++ cxf/branches/2.6.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
Tue Sep 25 19:16:38 2012
@@ -563,7 +563,7 @@ public class SchemaJavascriptBuilder {
                 utils.appendLine("item = [];");
                 utils.startDo();
                 valueTarget = "arrayItem";
-                utils.appendLine("var arrayItem;");
+                utils.appendLine("var arrayItem = null;");
             }
         }
 



Mime
View raw message