maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mper...@apache.org
Subject svn commit: r380145 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java
Date Thu, 23 Feb 2006 15:53:19 GMT
Author: mperham
Date: Thu Feb 23 07:53:16 2006
New Revision: 380145

URL: http://svn.apache.org/viewcvs?rev=380145&view=rev
Log:
PR: SCM-164
Submitted by: John Didion
Fix NPE in Update command

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java
URL: http://svn.apache.org/viewcvs/maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java?rev=380145&r1=380144&r2=380145&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-perforce/src/main/java/org/apache/maven/scm/provider/perforce/command/update/PerforceUpdateCommand.java
Thu Feb 23 07:53:16 2006
@@ -62,6 +62,8 @@
 
     protected ChangeLogCommand getChangeLogCommand()
     {
-        return new PerforceChangeLogCommand();
+        PerforceChangeLogCommand command = new PerforceChangeLogCommand();
+        command.setLogger( getLogger() );
+        return command;
     }
 }



Mime
View raw message