Skip to content

Commit a63e360

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Mark the GWT RegularImmutableBiMap.inverse as transient.
This eliminates a GWT-RPC warning. The warning is basically irrelevant, since we haven't supported GWT-RPC in years, but it's nice to make it go away. Fixes #8168 Closes #8177 RELNOTES=n/a PiperOrigin-RevId: 861875508
1 parent 50f087f commit a63e360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
2929
static final RegularImmutableBiMap<Object, Object> EMPTY =
3030
new RegularImmutableBiMap<Object, Object>();
3131

32-
private final ImmutableBiMap<V, K> inverse;
32+
private final transient ImmutableBiMap<V, K> inverse;
3333

3434
@SuppressWarnings("unchecked") // used only for the empty map, which works for any types
3535
RegularImmutableBiMap() {

0 commit comments

Comments
 (0)