maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r691107 - /maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java
Date Tue, 02 Sep 2008 05:11:48 GMT
Author: sisbell
Date: Mon Sep  1 22:11:48 2008
New Revision: 691107

URL: http://svn.apache.org/viewvc?rev=691107&view=rev
Log:
Minor fix for querying of container.

Modified:
    maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java

Modified: maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java?rev=691107&r1=691106&r2=691107&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java
(original)
+++ maven/shared/trunk/maven-shared-model/src/main/java/org/apache/maven/shared/model/impl/DefaultModelDataSource.java
Mon Sep  1 22:11:48 2008
@@ -246,6 +246,10 @@
                 }
                 case END_TAG:
                 {
+                    if ( !i.hasNext() && mp.getUri().startsWith(uri))
+                    {
+                        tmp.add( mp );
+                    }
                     modelContainers.add( factory.create( tmp ) );
                     tmp.clear();
                     state = NO_TAG;



Mime
View raw message