cxf-commits mailing list archives

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

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

........
  r1390065 | dkulp | 2012-09-25 15:16:38 -0400 (Tue, 25 Sep 2012) | 11 lines

  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.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java

Modified: cxf/branches/2.5.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.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java?rev=1390081&r1=1390080&r2=1390081&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
Tue Sep 25 19:24:17 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