You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/05/15 21:51:27 UTC

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

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;
     }