maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krosenv...@apache.org
Subject svn commit: r1396209 - /maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
Date Tue, 09 Oct 2012 19:13:36 GMT
Author: krosenvold
Date: Tue Oct  9 19:13:35 2012
New Revision: 1396209

URL: http://svn.apache.org/viewvc?rev=1396209&view=rev
Log:
o Re-added a method

Modified:
    maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java

Modified: maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java?rev=1396209&r1=1396208&r2=1396209&view=diff
==============================================================================
--- maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
(original)
+++ maven/shared/trunk/maven-shared-utils/src/main/java/org/apache/maven/shared/utils/cli/Commandline.java
Tue Oct  9 19:13:35 2012
@@ -328,6 +328,14 @@ public class Commandline
     }
 
     /**
+     * Clear out the arguments but leave the executable in place for another operation.
+     */
+    public void clearArgs()
+    {
+        arguments.clear();
+    }
+
+    /**
      * Executes the command.
      */
     public Process execute()



Mime
View raw message