Skip to content

Commit

Permalink
Ignore all methods in org.jooq.impl.DSL in PreferJavaTimeOverload .
Browse files Browse the repository at this point in the history
Fixes #1694

PiperOrigin-RevId: 318505995
  • Loading branch information
kluever authored and Error Prone Team committed Jun 26, 2020
1 parent 60a651c commit b332c7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public final class PreferJavaTimeOverload extends BugChecker

private static final Matcher<ExpressionTree> IGNORED_APIS =
anyOf(
staticMethod().onClass("org.jooq.impl.DSL").named("inline"),
staticMethod().onClass("org.jooq.impl.DSL").withAnyName(),
// any static method under org.assertj.*
staticMethod()
.onClass((type, state) -> type.toString().startsWith("org.assertj."))
Expand Down

0 comments on commit b332c7a

Please sign in to comment.