We do not need to specify EffectiveModelContext, which also fixes an
Eclipse warning.
Change-Id: I3033abf79b70182f767a8672efff6a2c53bee37c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
// and react appropriately:
// - in case we failed certainly want to invalidate the entry
// - in case of success ... that's something to consider
- Futures.addCallback(cf, new FutureCallback<EffectiveModelContext>() {
+ Futures.addCallback(cf, new FutureCallback<>() {
@Override
public void onSuccess(final EffectiveModelContext result) {
LOG.debug("Finished assembly of {} sources in {}", sources.size(), sw);