Skip to content

Commit

Permalink
Disable PreconditionsConstantMessage on gradle plugins (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferozco authored and bulldozer-bot[bot] committed Sep 4, 2019
1 parent 385ec84 commit 9229419
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-790.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: improvement
improvement:
description: Disable `PreconditionsConstantMessage` on gradle plugins
links:
- https://github.com/palantir/gradle-baseline/pull/790
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public void apply(Project project) {
errorProneOptions.check("Slf4jLogsafeArgs", CheckSeverity.OFF);
errorProneOptions.check("PreferSafeLoggableExceptions", CheckSeverity.OFF);
errorProneOptions.check("PreferSafeLoggingPreconditions", CheckSeverity.OFF);
errorProneOptions.check("PreconditionsConstantMessage", CheckSeverity.OFF);
}));
});

Expand Down

0 comments on commit 9229419

Please sign in to comment.