Skip to content

Commit 906baa8

Browse files
authored
Allow LocalNode to be extended for customisation (#11718)
LocalNode currently has a private constructor Which prevents it from being extended for customisation. Exposing the constructor for classes extending it.
1 parent 7d233ef commit 906baa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/src/org/openqa/selenium/grid/node/local/LocalNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public class LocalNode extends Node {
134134
private final AtomicInteger pendingSessions = new AtomicInteger();
135135
private final AtomicInteger sessionCount = new AtomicInteger();
136136

137-
private LocalNode(
137+
protected LocalNode(
138138
Tracer tracer,
139139
EventBus bus,
140140
URI uri,

0 commit comments

Comments
 (0)