Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 439940077
  • Loading branch information
Googler authored and copybara-github committed Apr 6, 2022
1 parent d491a88 commit 9db58e0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ java_library(
["**/*.java"],
exclude = ["testbed/*.java"],
),
javacopts = [
"-XepOpt:CheckReturnValue:CheckAllConstructors=false", # b/226969262
],
deps = [
"//src/java_tools/junitrunner/java/com/google/testing/junit/runner/internal",
"//src/java_tools/junitrunner/java/com/google/testing/junit/runner/internal:junit4",
Expand Down
3 changes: 3 additions & 0 deletions src/test/java/com/google/devtools/build/lib/actions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ java_library(
"cache/*.java",
],
),
javacopts = [
"-XepOpt:CheckReturnValue:CheckAllConstructors=false", # b/226969262
],
deps = [
"//src/main/java/com/google/devtools/build/lib/actions",
"//src/main/java/com/google/devtools/build/lib/actions:action_input_helper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ java_test(
name = "ByteArrayCodecTest",
size = "small",
srcs = ["ByteArrayCodecTest.java"],
javacopts = [
"-XepOpt:CheckReturnValue:CheckAllConstructors=false", # b/226969262
],
deps = [
"//src/main/java/com/google/devtools/build/lib/skyframe/serialization/testutils",
"//third_party:junit4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ filegroup(
java_library(
name = "OptionsTesterTest_lib",
srcs = glob(["*.java"]),
javacopts = [
"-XepOpt:CheckReturnValue:CheckAllConstructors=false", # b/226969262
],
deps = [
"//src/main/java/com/google/devtools/common/options",
"//src/main/java/com/google/devtools/common/options/testing",
Expand Down

0 comments on commit 9db58e0

Please sign in to comment.