You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove @GwtCompatible from methods and non-visible classes.
Since members of `@GwtCompatible` classes are assumed to be GWT-compatible by default, there is no need for the annotation except on classes. Arguably, it's not necessary even on public nested classes, since those have annotations on their enclosing classes. But there is value in having the annotation in the generated Javadoc for the class itself, so I've kept the occurrences that I've seen. (There was one on [`FutureCombiner`](https://guava.dev/FutureCombiner), at least. I rather doubt that we're being consistent about including it on all such types, though.)
Most (all?) such existing annotations on methods are left over from when we were saying something meaningful, `@GwtCompatible(serializable = ...)`. If I'd been fully on the ball, I would have removed them back in cl/767108998 and cl/767189860.
Along the way, I also noticed a couple static imports of members of the current class. I think I removed them all (just `Maps` and `Helpers`).
RELNOTES=n/a
PiperOrigin-RevId: 778311761
0 commit comments