Skip to content

Commit

Permalink
FastArrays -> ArrayUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed May 10, 2019
1 parent 56b4dd6 commit 50b7e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/libj/exec/Processes.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

import org.libj.io.Streams;
import org.libj.io.TeeOutputStream;
import org.libj.util.FastArrays;
import org.libj.util.ArrayUtil;

/**
* Utility class that provides convenience methods to launch child processes. The
Expand Down Expand Up @@ -115,7 +115,7 @@ private static Map<String,String> combineProperties(final Map<String,String> pro
*/
@SuppressWarnings("resource")
static Process fork(final InputStream stdin, final OutputStream stdout, final OutputStream stderr, final boolean redirectErrorStream, final boolean sync, final Map<String,String> envp, final File dir, String ... args) throws IOException {
args = FastArrays.filter(notNullPredicate, args);
args = ArrayUtil.filter(notNullPredicate, args);
final String[] env;
if (envp != null && envp.size() > 0) {
env = new String[envp.size()];
Expand Down

0 comments on commit 50b7e5f

Please sign in to comment.