Skip to content

Commit

Permalink
Mark kotlin.time.Duration as immutable in WellKnownMutability.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 524243307
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Apr 14, 2023
1 parent 621fec6 commit d348ff7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ private static ImmutableMap<String, AnnotationInfo> buildImmutableClasses(
.add("kotlin.Unit")
.add("kotlin.Pair", "A", "B")
.add("kotlin.Triple", "A", "B", "C")
.add("kotlin.time.Duration")
.add("org.threeten.bp.Duration")
.add("org.threeten.bp.Instant")
.add("org.threeten.bp.LocalDate")
Expand Down

0 comments on commit d348ff7

Please sign in to comment.