Skip to content

Commit

Permalink
WellKnownMutability: add java.awt.Color
Browse files Browse the repository at this point in the history
The field `java.awt.Color#value` cannot be changed.

Fixes #1682

PiperOrigin-RevId: 362732023
  • Loading branch information
cushon authored and Error Prone Team committed Mar 15, 2021
1 parent d1b93d4 commit e3cafbe
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ private static ImmutableMap<String, AnnotationInfo> buildImmutableClasses(
.add(java.util.Locale.class)
.add(java.util.regex.Pattern.class)
.add("android.net.Uri")
.add("java.awt.Color")
.add("java.util.AbstractMap$SimpleImmutableEntry", "K", "V")
.add("java.util.Optional", "T")
.add("java.util.OptionalDouble")
Expand Down

0 comments on commit e3cafbe

Please sign in to comment.