Use CommitInfo in AsyncNotifyingSettableFuture
We are performing a future transformation which boils down to converting
a null (Void) into an CommitInfo.empty().
Rather than doing that, let's make sure AsyncNotifyingSettableFuture
results directly in CommitInfo, removing the need for transformation,
saving us an object allocation and a few CPU cycles.
Change-Id: I7e34ad5e24dc6470d16243dad5ce7ba7395c5397
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
4d2bbed60d5e0e1ea23a994e87b306416a3e51eb)