/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.Functions$UnaryVoid
 */
package com.l7tech.server.security.keystore.sca;

import com.l7tech.server.security.keystore.KeystoreFile;
import com.l7tech.server.security.keystore.sca.a;
import com.l7tech.util.Functions;

class b
implements Functions.UnaryVoid<KeystoreFile> {
    final Object[] val$out;
    final a this$1;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    b(a a10, Object[] objectArray) {
        this.this$1 = a10;
        this.val$out = objectArray;
    }

    public void call(KeystoreFile keystoreFile) {
        try {
            if (this.this$1.val$transactionCallback != null) {
                this.this$1.val$transactionCallback.run();
            }
        }
        catch (Exception exception) {
            throw b.a(exception);
        }
        try {
            this.this$1.this$0.q = this.this$1.this$0.a(keystoreFile.getDatabytes());
            this.this$1.this$0.s = System.currentTimeMillis();
            this.val$out[0] = this.this$1.val$mutator.call();
            keystoreFile.setDatabytes(this.this$1.this$0.b());
        }
        catch (Exception exception) {
            throw new RuntimeException(exception);
        }
    }

    private static Exception a(Exception exception) {
        return exception;
    }
}

