<commit_before>package jenkins.security;

import hudson.remoting.Callable;
import org.jenkinsci.remoting.Role;

import java.util.Collection;

/**
 * {@link Callable} adapter for situations where Callable is not used for remoting but
 * just as a convenient function that has parameterized return value and exception type.
 *
 * @author <NAME>
 * @since 1.THU
 */
public abstract class NotReallyRoleSensitiveCallable<V,T extends Throwable> implements Callable<V,T> {
    @Override
    public final Collection<Role> getRecipients() {
        // not meant to be used where this matters
        throw new UnsupportedOperationException();
    }
}<commit_msg>Signature update complete for RoleChecker change<commit_after>package jenkins.security;

import hudson.remoting.Callable;
import org.jenkinsci.remoting.RoleChecker;

/**
 * {@link Callable} adapter for situations where Callable is not used for remoting but
 * just as a convenient function that has parameterized return value and exception type.
 *
 * @author <NAME>
 * @since 1.THU
 */
public abstract class NotReallyRoleSensitiveCallable<V,T extends Throwable> implements Callable<V,T> {
    @Override
    public void checkRoles(RoleChecker checker) throws SecurityException {
        // not meant to be used where this matters
        throw new UnsupportedOperationException();
    }
}
{'fraction_non_alphanumeric': 0.07680835197613721, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 4.346613545816733, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6001455', 'n_tokens_mistral': 368, 'n_tokens_neox': 360, 'n_words': 129}