33 lines
843 B
Java
33 lines
843 B
Java
package s.a;
|
|
|
|
import c.d.b.a.a;
|
|
import java.util.concurrent.Future;
|
|
import kotlin.Unit;
|
|
/* compiled from: Future.kt */
|
|
public final class h extends i {
|
|
public final Future<?> i;
|
|
|
|
public h(Future<?> future) {
|
|
this.i = future;
|
|
}
|
|
|
|
@Override // s.a.j
|
|
public void a(Throwable th) {
|
|
this.i.cancel(false);
|
|
}
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public Unit invoke(Throwable th) {
|
|
this.i.cancel(false);
|
|
return Unit.a;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("CancelFutureOnCancel[");
|
|
K.append(this.i);
|
|
K.append(']');
|
|
return K.toString();
|
|
}
|
|
}
|