Skip to content

Commit

Permalink
Add java.nio.ByteOrder to the list of known immutable types in Wellkn…
Browse files Browse the repository at this point in the history
…ownMutability.

The class is effectively an enum, although not implemented as such. It is final and does not expose any mutable fields.

Fixes #1788

PiperOrigin-RevId: 327476333
  • Loading branch information
kluever authored and Error Prone Team committed Aug 19, 2020
1 parent 89e265f commit 89f445c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private static ImmutableMap<String, AnnotationInfo> buildImmutableClasses(
.add(java.math.BigInteger.class)
.add(java.net.InetAddress.class)
.add(java.net.URI.class)
.add(java.nio.ByteOrder.class)
.add(java.nio.charset.Charset.class)
.add(java.nio.file.Path.class)
.add(java.nio.file.WatchEvent.class)
Expand Down

0 comments on commit 89f445c

Please sign in to comment.