Remove redundant type arguments

Change-Id: Ice5cadb0d4e73760db5355953240c3688e10cdc0
This commit is contained in:
Dave Borowitz
2018-12-21 11:24:13 -08:00
parent 1ff5ae9244
commit 4e22200be9
55 changed files with 81 additions and 105 deletions

View File

@@ -64,8 +64,7 @@ public class SearchingChangeCacheImpl implements GitReferenceUpdatedListener {
@Override
protected void configure() {
if (slave) {
bind(SearchingChangeCacheImpl.class)
.toProvider(Providers.<SearchingChangeCacheImpl>of(null));
bind(SearchingChangeCacheImpl.class).toProvider(Providers.of(null));
} else {
cache(ID_CACHE, Project.NameKey.class, new TypeLiteral<List<CachedChange>>() {})
.maximumWeight(0)