<commit_before>package org.owasp.esapi.reference.accesscontrol.policyloader;

import org.owasp.esapi.reference.accesscontrol.BaseACR;
import org.owasp.esapi.reference.accesscontrol.DynaBeanACRParameter;

//public class EchoDynaBeanPolicyParameterACR extends BaseDynaBeanACR {
public class EchoDynaBeanPolicyParameterACR extends BaseACR<DynaBeanACRParameter, Object> {
	/**
	 * Returns true iff runtimeParameter is a Boolean true.
	 * throws ClassCastException if runtimeParameter is not a Boolean.
	 */
	public boolean isAuthorized(Object runtimeParameter) throws ClassCastException{		
		return getPolicyParameters().getBoolean("isTrue");
	}
}<commit_msg>typo fix<commit_after>package org.owasp.esapi.reference.accesscontrol.policyloader;

import org.owasp.esapi.reference.accesscontrol.BaseACR;
import org.owasp.esapi.reference.accesscontrol.DynaBeanACRParameter;

//public class EchoDynaBeanPolicyParameterACR extends BaseDynaBeanACR {
public class EchoDynaBeanPolicyParameterACR extends BaseACR<DynaBeanACRParameter, Object> {
	/**
	 * Returns true if runtimeParameter is a Boolean true.
	 * throws ClassCastException if runtimeParameter is not a Boolean.
	 */
	public boolean isAuthorized(Object runtimeParameter) throws ClassCastException{		
		return getPolicyParameters().getBoolean("isTrue");
	}
}
{'fraction_non_alphanumeric': 0.07668711656441718, 'fraction_numerical': 0.0, 'mean_word_length': 6.587209302325581, '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': '3115715', 'n_tokens_mistral': 380, 'n_tokens_neox': 369, 'n_words': 83}