maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r492104 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java
Date Wed, 03 Jan 2007 11:14:34 GMT
Author: brett
Date: Wed Jan  3 03:14:31 2007
New Revision: 492104

URL: http://svn.apache.org/viewvc?view=rev&rev=492104
Log:
[MNG-2228] fix null pointer exception
Merged from: 492103, maven-2.0.x branch

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java?view=diff&rev=492104&r1=492103&r2=492104
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/extension/DefaultExtensionManager.java
Wed Jan  3 03:14:31 2007
@@ -90,9 +90,8 @@
             PlexusContainer extensionContainer = getExtensionContainer();
             if ( extensionContainer == null )
             {
-                extensionContainer = container.createChildContainer( CONTAINER_NAME,
-                                                                     Collections.singletonList(
artifact.getFile() ),
-                                                                     Collections.EMPTY_MAP
);
+                extensionContainer =
+                    container.createChildContainer( CONTAINER_NAME, Collections.EMPTY_LIST,
Collections.EMPTY_MAP );
             }
 
             for ( Iterator i = result.getArtifacts().iterator(); i.hasNext(); )



Mime
View raw message