Skip to content

Commit 3782dfb

Browse files
committed
Fill out the generic type for GridData
1 parent b1bfdab commit 3782dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/server/src/org/openqa/selenium/grid/graphql/GridData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
import java.net.URI;
2727

28-
public class GridData implements DataFetcher {
28+
public class GridData implements DataFetcher<Grid> {
2929
private final Distributor distributor;
3030
private final NewSessionQueue newSessionQueue;
3131
private final URI publicUri;
@@ -43,7 +43,7 @@ public GridData(
4343
}
4444

4545
@Override
46-
public Object get(DataFetchingEnvironment environment) {
46+
public Grid get(DataFetchingEnvironment environment) {
4747
return new Grid(distributor, newSessionQueue, publicUri, version);
4848
}
4949
}

0 commit comments

Comments
 (0)