cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r933091 - in /cxf/branches/2.2.x-fixes: ./ rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
Date Mon, 12 Apr 2010 04:05:07 GMT
Author: dkulp
Date: Mon Apr 12 04:05:07 2010
New Revision: 933091

URL: http://svn.apache.org/viewvc?rev=933091&view=rev
Log:
Merged revisions 933087 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r933087 | dkulp | 2010-04-11 23:59:56 -0400 (Sun, 11 Apr 2010) | 2 lines
  
  [CXF-2761] Reset item to null
  Patch from Bjorn Hauser applied
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java?rev=933091&r1=933090&r2=933091&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/types/SchemaJavascriptBuilder.java
Mon Apr 12 04:05:07 2010
@@ -659,6 +659,7 @@ public class SchemaJavascriptBuilder {
                              + localName + "'));");
         }
         utils.appendLine("newobject." + accessorName + "(item);");
+        utils.appendLine("var item = null;");
         if (!itemInfo.isArray()) {
             utils.startIf("curElement != null");
             utils.appendLine("curElement = cxfjsutils.getNextElementSibling(curElement);");



Mime
View raw message