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 google#1694

PiperOrigin-RevId: 318505995

(cherry picked from commit b332c7a)
  • Loading branch information
kluever authored and Stephan202 committed Nov 2, 2020
1 parent 5c06c16 commit ad20e5f
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 ad20e5f

Please sign in to comment.