<commit_before>package br.com.caelum.vraptor.interceptor;

import java.lang.reflect.Method;

import javax.enterprise.inject.Vetoed;

@Vetoed
public class NoStackParameterStepExecutor implements StepExecutor<Void> {

	private StepInvoker stepInvoker;
	private Method method;

	public NoStackParameterStepExecutor(StepInvoker stepInvoker,
			Method method) {
		this.stepInvoker = stepInvoker;
		this.method = method;
	}

	@Override
	public boolean accept() {
		return true;
	}

	@Override
	public Void execute(Object interceptor) {
		stepInvoker.tryToInvoke(interceptor, method);
		return null;
	}
}<commit_msg>minor: NoStackParameterStepExecutor accept if method != null<commit_after>package br.com.caelum.vraptor.interceptor;

import java.lang.reflect.Method;

import javax.enterprise.inject.Vetoed;

@Vetoed
public class NoStackParameterStepExecutor implements StepExecutor<Void> {

	private StepInvoker stepInvoker;
	private Method method;

	public NoStackParameterStepExecutor(StepInvoker stepInvoker,
			Method method) {
		this.stepInvoker = stepInvoker;
		this.method = method;
	}

	@Override
	public boolean accept() {
		return method != null;
	}

	@Override
	public Void execute(Object interceptor) {
		stepInvoker.tryToInvoke(interceptor, method);
		return null;
	}
}
{'fraction_non_alphanumeric': 0.08392156862745098, 'fraction_numerical': 0.0, 'mean_word_length': 5.477157360406092, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2502758', 'n_tokens_mistral': 419, 'n_tokens_neox': 396, 'n_words': 90}