Skip to content

Commit 7aad11d

Browse files
committed
java: Decreasing visibility of a method that is used in tests only
1 parent 88155a9 commit 7aad11d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: java/client/src/org/openqa/selenium/interactions/CompositeAction.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
package org.openqa.selenium.interactions;
1919

20+
import com.google.common.annotations.VisibleForTesting;
2021
import com.google.common.collect.ImmutableList;
2122

2223
import org.openqa.selenium.WebDriver;
@@ -56,7 +57,8 @@ public CompositeAction addAction(Action action) {
5657
return this;
5758
}
5859

59-
public int getNumberOfActions() {
60+
@VisibleForTesting
61+
int getNumberOfActions() {
6062
return actionsList.size();
6163
}
6264

0 commit comments

Comments
 (0)