Skip to content

Commit 377b8bb

Browse files
authored
[cdp] Avoid using Void.class as a type
1 parent 7a63077 commit 377b8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/client/src/org/openqa/selenium/devtools/Command.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class Command<X> {
3434
private final boolean sendsResponse;
3535

3636
public Command(String method, Map<String, Object> params) {
37-
this(method, params, Void.class);
37+
this(method, params, Object.class);
3838
}
3939

4040
public Command(String method, Map<String, Object> params, Type typeOfX) {

0 commit comments

Comments
 (0)