Error Prone 2.0.9 release

67 views
Skip to first unread message

Kevin Bierhoff

unread,
Mar 24, 2016, 1:35:37 PM3/24/16
to error-pron...@googlegroups.com, error-pro...@googlegroups.com
We are pleased to announce the release of Error Prone 2.0.9.

New checks:
- [FragmentNotInstantiable]: Subclasses of Fragment must be instantiable via Class#newInstance()
- [DaggerProvidesNull]: Dagger @Provides methods may not return null unless annotated with @Nullable
- [StaticGuardedByInstance]: Writes to static fields should not be guarded by instance locks
- [IterableAndIterator]: Classes should not implement both Iterable and Iterator

Other notable changes:
- Fix NPE in GuardedByBinder
- [CheckReturnValue]: recognize in-order mockito mocks
- [TryFailThrowable] now runs on catch() blocks for Error, AssertionError, and AssertionFailedError

Fixes issues: #226, #387, #393

Reply all
Reply to author
Forward
0 new messages