<commit_before>package com.seleniumtests.controller;

import org.apache.log4j.Logger;

import com.seleniumtests.driver.web.element.IPage;
import com.seleniumtests.helper.URLHelper;
import com.seleniumtests.reporter.PluginsUtil;

/**
 * Provides a plug-in architecture for SEO, Java Script, Accessibility etc tests.
 * 
 * Any sub-class should define a public default constructor
 * 
 * @author apani
 * 
 */
public abstract class AbstractPageListener {
	protected static final Logger logger = Logging.getLogger(AbstractPageListener.class);

	/**
	 * Notifies all the page listeners on page Load
	 * 
	 * @param page
	 */
	public static void notifyPageLoad(IPage page) {
		PluginsUtil.getInstance().invokePageListeners(ContextManager.getThreadContext().getTestMethodSignature(),
		 page, true);
		
	}

	/**
	 * Notifies all the page listeners on page Unload
	 * 
	 * @param page
	 */<commit_msg>remove unused code<commit_after>package com.seleniumtests.controller;

import org.apache.log4j.Logger;

import com.seleniumtests.driver.web.element.IPage;
import com.seleniumtests.helper.URLHelper;
import com.seleniumtests.reporter.PluginsUtil;

/**
 * Provides a plug-in architecture for SEO, Java Script, Accessibility etc tests.
 * 
 * Any sub-class should define a public default constructor
 * 
 *
 */
public abstract class AbstractPageListener {
	protected static final Logger logger = Logging.getLogger(AbstractPageListener.class);

	/**
	 * Notifies all the page listeners on page Load
	 * 
	 * @param page
	 */
	public static void notifyPageLoad(IPage page) {
		PluginsUtil.getInstance().invokePageListeners(ContextManager.getThreadContext().getTestMethodSignature(),
		 page, true);
		
	}

	/**
	 * Notifies all the page listeners on page Unload
	 * 
	 * @param page
	 */
{'fraction_non_alphanumeric': 0.09464788732394366, 'fraction_numerical': 0.0011267605633802818, 'mean_word_length': 4.349397590361446, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '533725', 'n_tokens_mistral': 538, 'n_tokens_neox': 492, 'n_words': 138}