We do not need to specify arguments here.
Change-Id: If92534ae0306e8abe27919cbc368da55683fa97b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
* TODO: once we remove compatibility, make this class package-private and final.
*/
public class TransactionReadyReplyMapper extends Mapper<Object, ActorSelection> {
- protected static final Mapper<Throwable, Throwable> SAME_FAILURE_TRANSFORMER = new Mapper<Throwable, Throwable>() {
+ protected static final Mapper<Throwable, Throwable> SAME_FAILURE_TRANSFORMER = new Mapper<>() {
@Override
public Throwable apply(final Throwable failure) {
return failure;