Skip to content

Commit

Permalink
Document possible improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 authored and rickie committed Jan 31, 2024
1 parent a8d34d3 commit e527dba
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,9 @@ Period after() {
}
}

// XXX: The `DateType{Plus,Minus}Unit` rules below contain a lot of boilerplate. Consider
// introducing an Error Prone check instead.

/** Prefer {@link LocalDate#plusDays(long)} over more contrived alternatives. */
static final class LocalDatePlusDays {
@BeforeTemplate
Expand Down

0 comments on commit e527dba

Please sign in to comment.