<commit_before>package us.mn.state.health.lims.externalconnections.action;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import us.mn.state.health.lims.common.action.BaseMenuAction;
import us.mn.state.health.lims.common.formfields.AdminFormFields;
import us.mn.state.health.lims.common.formfields.AdminFormFields.Field;
import us.mn.state.health.lims.common.util.StringUtil;
import us.mn.state.health.lims.display.URLForDisplay;

public class ExternalConnectionsAction extends BaseMenuAction {

	@Override
	protected String getPageTitleKey() {
		return StringUtil.getMessageForKey("externalconnect.browse.title");
	}

	@Override
	protected String getPageSubtitleKey() {
		return StringUtil.getMessageForKey("externalconnect.browse.title");
	}

	@Override
	protected List createMenuList(ActionMapping mapping, ActionForm form, HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		AdminFormFields adminFields = AdminFormFields.getInstance();
		List<URLForDisplay> menuList = new ArrayList<>();
		URLForDisplay url = new URLForDisplay();
		if (adminFields.useField(Field.RESULT_REPORTING_CONFIGURATION)) {
			url.setDisplayKey("resultreporting.browse.title");
			url.setUrlAddress(request.getContextPath() + "/ResultReportingConfiguration.do" );
			menuList.add(url);
		}
		return menuList;
	}

	@Override
	protected String getDeactivateDisabled() {
		// TODO Auto-generated method stub
		return null;
	}

}<commit_msg>java version incompat fix<commit_after>package us.mn.state.health.lims.externalconnections.action;

import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import us.mn.state.health.lims.common.action.BaseMenuAction;
import us.mn.state.health.lims.common.formfields.AdminFormFields;
import us.mn.state.health.lims.common.formfields.AdminFormFields.Field;
import us.mn.state.health.lims.common.util.StringUtil;
import us.mn.state.health.lims.display.URLForDisplay;

public class ExternalConnectionsAction extends BaseMenuAction {

	@Override
	protected String getPageTitleKey() {
		return StringUtil.getMessageForKey("externalconnect.browse.title");
	}

	@Override
	protected String getPageSubtitleKey() {
		return StringUtil.getMessageForKey("externalconnect.browse.title");
	}

	@Override
	protected List createMenuList(ActionMapping mapping, ActionForm form, HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		AdminFormFields adminFields = AdminFormFields.getInstance();
		List<URLForDisplay> menuList = new ArrayList<URLForDisplay>();
		URLForDisplay url = new URLForDisplay();
		if (adminFields.useField(Field.RESULT_REPORTING_CONFIGURATION)) {
			url.setDisplayKey("resultreporting.browse.title");
			url.setUrlAddress(request.getContextPath() + "/ResultReportingConfiguration.do" );
			menuList.add(url);
		}
		return menuList;
	}

	@Override
	protected String getDeactivateDisabled() {
		// TODO Auto-generated method stub
		return null;
	}

}
{'fraction_non_alphanumeric': 0.10239321417752197, 'fraction_numerical': 0.0, 'mean_word_length': 6.025531914893617, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4631781', 'n_tokens_mistral': 1017, 'n_tokens_neox': 971, 'n_words': 169}