[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-cvs
Subject:    svn commit: r390273 -
From:       radup () apache ! org
Date:       2006-03-30 23:06:16
Message-ID: 20060330230616.21338.qmail () minotaur ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic