/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.Functions$Unary
 */
package com.l7tech.server.search.processors;

import com.l7tech.server.search.objects.Dependency;
import com.l7tech.server.search.processors.PolicyDependencyProcessor;
import com.l7tech.util.Functions;
import java.util.ArrayList;

class ah
implements Functions.Unary<Boolean, Dependency> {
    final ArrayList val$dependencies;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    ah(PolicyDependencyProcessor policyDependencyProcessor, ArrayList arrayList) {
        this.val$dependencies = arrayList;
    }

    public Boolean call(Dependency dependency) {
        if (!this.val$dependencies.contains(dependency)) {
            this.val$dependencies.add(dependency);
        }
        return true;
    }
}

