Skip to content

Commit

Permalink
Make EmptyTopLevelDeclaration a warning
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 501864491
Change-Id: I06db1964964a2a817f6255153d7ee0121397720d
  • Loading branch information
cushon authored and copybara-github committed Jan 13, 2023
1 parent 773cfba commit 8d9a06e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/jdk/default_java_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ DEFAULT_JAVACOPTS = [
"-Xep:ReturnValueIgnored:OFF",
# https://github.com/bazelbuild/bazel/issues/16996
"-Xep:IgnoredPureGetter:OFF",
"-Xep:EmptyTopLevelDeclaration:OFF",
]

# Default java_toolchain parameters
Expand Down

0 comments on commit 8d9a06e

Please sign in to comment.