Author: sgoeschl
Date: Wed Apr 23 13:42:39 2008
New Revision: 651051

URL: http://svn.apache.org/viewvc?rev=651051&view=rev
Log:
Removing some left-overs from the last refactoring

Modified:
    
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java

Modified: 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java?rev=651051&r1=651050&r2=651051&view=diff
==============================================================================
--- 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
 (original)
+++ 
commons/sandbox/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecutor.java
 Wed Apr 23 13:42:39 2008
@@ -237,16 +237,15 @@
      */
     protected Process launch(final CommandLine command, final Map env,
             final File dir) throws IOException {
-        CommandLauncher launcher = this.launcher;
 
-        if (launcher == null) {
+        if (this.launcher == null) {
             throw new IllegalStateException("CommandLauncher can not be null");
         }
 
         if (dir != null && !dir.exists()) {
             throw new IOException(dir + " doesn't exist.");
         }
-        return launcher.exec(command, env, dir);
+        return this.launcher.exec(command, env, dir);
     }
 
     /**


Reply via email to