maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r775303 - /maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
Date Fri, 15 May 2009 19:51:27 GMT
Author: bentmann
Date: Fri May 15 19:51:27 2009
New Revision: 775303

URL: http://svn.apache.org/viewvc?rev=775303&view=rev
Log:
o Saved clients from NPEs

Modified:
    maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

Modified: maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
URL: http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java?rev=775303&r1=775302&r2=775303&view=diff
==============================================================================
--- maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
(original)
+++ maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
Fri May 15 19:51:27 2009
@@ -179,6 +179,11 @@
 
     public Properties getProperties()
     {
+        if ( properties == null )
+        {
+            properties = new Properties();
+        }
+
         return properties;
     }
 



Mime
View raw message