Simplify [ReceivePack]MessageSender logic

In AsyncReceiveCommits, messageSender is always null. This obviates
MessageSender as a separate interface.

Change-Id: I3d88613780d6c5c93754c70f06a079ed83f2bd0c
This commit is contained in:
Han-Wen Nienhuys
2018-08-01 11:09:48 +02:00
parent e27a404a3e
commit 7c4f0c3f30
5 changed files with 15 additions and 34 deletions

View File

@@ -331,7 +331,7 @@ class InProcessProtocol extends TestProtocol<Context> {
}
AsyncReceiveCommits arc =
factory.create(projectState, identifiedUser, db, null, ImmutableSetMultimap.of());
factory.create(projectState, identifiedUser, db, ImmutableSetMultimap.of());
ReceivePack rp = arc.getReceivePack();
Capable r = arc.canUpload();