Skip to content

Commit 3e7c6e1

Browse files
committed
Ensure that the decorators do not leak out of the support package
1 parent 96c4ecd commit 3e7c6e1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

java/src/org/openqa/selenium/support/decorators/BUILD.bazel

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ load("//java:defs.bzl", "java_library")
44
java_library(
55
name = "decorators",
66
srcs = glob(["*.java"]),
7-
visibility = ["//visibility:public"],
7+
visibility = [
8+
"//java/src/org/openqa/selenium/support:__subpackages__",
9+
"//java/test/org/openqa/selenium/support/decorators:__pkg__",
10+
],
811
deps = [
912
"//java/src/org/openqa/selenium:core",
1013
artifact("net.bytebuddy:byte-buddy"),

java/test/org/openqa/selenium/remote/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ java_test_suite(
2727
"//java/src/org/openqa/selenium/ie",
2828
"//java/src/org/openqa/selenium/json",
2929
"//java/src/org/openqa/selenium/remote",
30-
"//java/src/org/openqa/selenium/support/decorators",
30+
"//java/src/org/openqa/selenium/support",
3131
"//java/test/org/openqa/selenium/testing:annotations",
3232
artifact("org.assertj:assertj-core"),
3333
artifact("com.google.guava:guava"),

0 commit comments

Comments
 (0)