commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1556857 - /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java
Date Thu, 09 Jan 2014 16:22:44 GMT
Author: britter
Date: Thu Jan  9 16:22:43 2014
New Revision: 1556857

URL: http://svn.apache.org/r1556857
Log:
Replace tabs with spaces

Modified:
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java?rev=1556857&r1=1556856&r2=1556857&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/launcher/Java13CommandLauncher.java
Thu Jan  9 16:22:43 2014
@@ -35,27 +35,27 @@ public class Java13CommandLauncher exten
      * Constructor
      */
     public Java13CommandLauncher() {
-	}
+    }
 
-	/**
-	 * Launches the given command in a new process, in the given working
-	 * directory
-	 * 
-	 * @param cmd
-	 *            the command line to execute as an array of strings
-	 * @param env
-	 *            the environment to set as an array of strings
-	 * @param workingDir
-	 *            the working directory where the command should run
-	 * @throws IOException
-	 *             probably forwarded from Runtime#exec
-	 */
-	public Process exec(final CommandLine cmd, final Map env,
-			final File workingDir) throws IOException {
+    /**
+     * Launches the given command in a new process, in the given working
+     * directory
+     * 
+     * @param cmd
+     *            the command line to execute as an array of strings
+     * @param env
+     *            the environment to set as an array of strings
+     * @param workingDir
+     *            the working directory where the command should run
+     * @throws IOException
+     *             probably forwarded from Runtime#exec
+     */
+    public Process exec(final CommandLine cmd, final Map env,
+            final File workingDir) throws IOException {
 
-		final String[] envVars = EnvironmentUtils.toStrings(env);
+        final String[] envVars = EnvironmentUtils.toStrings(env);
 
-		return Runtime.getRuntime().exec(cmd.toStrings(),
+        return Runtime.getRuntime().exec(cmd.toStrings(),
                 envVars, workingDir);
-	}
+    }
 }



Mime
View raw message