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

import com.l7tech.util.Functions;

class be
implements Functions.Unary<String, String> {
    final int val$varLengthLimit;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    be(int n2) {
        this.val$varLengthLimit = n2;
    }

    public String call(String string) {
        if (string.length() > this.val$varLengthLimit) {
            return string.substring(0, this.val$varLengthLimit);
        }
        return string;
    }
}

