xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r390273 - /xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java
Date Thu, 30 Mar 2006 23:06:16 GMT
Author: radup
Date: Thu Mar 30 15:06:13 2006
New Revision: 390273

URL: http://svn.apache.org/viewcvs?rev=390273&view=rev
Log:
Small fix when computing contributions.

Modified:
    xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java

Modified: xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java?rev=390273&r1=390272&r2=390273&view=diff
==============================================================================
--- xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java (original)
+++ xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaDependencies.java Thu
Mar 30 15:06:13 2006
@@ -93,9 +93,15 @@
                     continue;
                 depSet.add(source);
             }
+        }
+        for (Iterator it = base._contributions.keySet().iterator(); it.hasNext(); )
+        {
+            String ns = (String) it.next();
+            if (updatedNs.contains(ns))
+                continue;
             List fileList = new ArrayList();
-            _contributions.put(target, fileList);
-            List baseFileList = (List) base._contributions.get(target);
+            _contributions.put(ns, fileList);
+            List baseFileList = (List) base._contributions.get(ns);
             for (Iterator it2 = baseFileList.iterator(); it2.hasNext(); )
                 fileList.add(it2.next());
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message