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

import com.l7tech.policy.PolicyVersion;
import com.l7tech.server.policy.PolicyAdminImpl;
import com.l7tech.util.BeanUtils;
import com.l7tech.util.Functions;
import java.util.Set;

class e
implements Functions.Unary<PolicyVersion, PolicyVersion> {
    final Set val$allButXml;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    e(PolicyAdminImpl policyAdminImpl, Set set) {
        this.val$allButXml = set;
    }

    public PolicyVersion call(PolicyVersion policyVersion) {
        PolicyVersion policyVersion2 = new PolicyVersion();
        try {
            BeanUtils.copyProperties((Object)policyVersion, (Object)policyVersion2, (Iterable)this.val$allButXml);
        }
        catch (Exception exception) {
            throw new RuntimeException(exception);
        }
        return policyVersion2;
    }
}

