Skip to content

Commit

Permalink
Don't opt in to CheckOptionalEmptiness (#2396)
Browse files Browse the repository at this point in the history
`com.palantir.baseline-null-away` no longer enables the `CheckOptionalEmptiness` checker by default.
  • Loading branch information
iamdanfox authored Sep 20, 2022
1 parent 5ab68ee commit 2a915c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/@unreleased/pr-2396.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: fix
fix:
description: '`com.palantir.baseline-null-away` no longer enables the `CheckOptionalEmptiness`
checker by default.'
links:
- https://github.com/palantir/gradle-baseline/pull/2396
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public void execute(Configuration _files) {
@Override
public void execute(ErrorProneOptions options) {
options.option("NullAway:AnnotatedPackages", String.join(",", DEFAULT_ANNOTATED_PACKAGES));
options.option("NullAway:CheckOptionalEmptiness", "true");
}
});
}
Expand Down

0 comments on commit 2a915c8

Please sign in to comment.