continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r332328 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Date Thu, 10 Nov 2005 16:55:37 GMT
Author: evenisse
Date: Thu Nov 10 08:55:34 2005
New Revision: 332328

URL: http://svn.apache.org/viewcvs?rev=332328&view=rev
Log:
Fix NPE

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java?rev=332328&r1=332327&r2=332328&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scm/DefaultContinuumScm.java
Thu Nov 10 08:55:34 2005
@@ -388,7 +388,7 @@
     {
         String cmd = commandLine;
         
-        if ( cmd.startsWith( "svn" ) )
+        if ( cmd != null && cmd.startsWith( "svn" ) )
         {
             String pwdString = "--password";
 



Mime
View raw message