We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8f88f commit 664b6daCopy full SHA for 664b6da
parsec-client-java/src/main/java/org/parallaxsecond/parsec/client/core/ipc_handler/UnixSocket.java
@@ -7,6 +7,7 @@
7
import java.nio.file.Path;
8
import java.nio.file.Paths;
9
import java.time.Duration;
10
+import java.util.Objects;
11
12
/** IPC handler for Unix domain sockets */
13
public class UnixSocket implements IpcHandler {
@@ -22,6 +23,7 @@ public UnixSocket(String path) {
22
23
}
24
25
public UnixSocket(String path, Duration timeout) {
26
+ Objects.requireNonNull(path);
27
this.path = Paths.get(path);
28
this.timeout = timeout;
29
0 commit comments