<commit_before>package org.csstudio.alarm.treeView.preferences;

import org.csstudio.alarm.treeView.AlarmTreePlugin;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.osgi.service.prefs.Preferences;


/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		Preferences prefs = new DefaultScope().getNode(AlarmTreePlugin.PLUGIN_ID);
		prefs.put(PreferenceConstants.LDAP_URL, "ldap://krynfs.desy.de:389/o=DESY,c=DE");
		prefs.put(PreferenceConstants.LDAP_USER, "");
		prefs.put(PreferenceConstants.LDAP_PASSWORD, "");
		prefs.put(PreferenceConstants.FACILITIES, "");
		prefs.put(PreferenceConstants.JMS_URL_PRIMARY, "tcp://elogbook.desy.de:61616");
		prefs.put(PreferenceConstants.JMS_URL_SECONDARY, "tcp://krynfs.desy.de:61616");
		prefs.put(PreferenceConstants.JMS_CONTEXT_FACTORY_PRIMARY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory");
		prefs.put(PreferenceConstants.JMS_CONTEXT_FACTORY_SECONDARY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory");
		prefs.put(PreferenceConstants.JMS_QUEUE, "ALARM");<commit_msg>fix port number in preferences<commit_after>package org.csstudio.alarm.treeView.preferences;

import org.csstudio.alarm.treeView.AlarmTreePlugin;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.core.runtime.preferences.DefaultScope;
import org.osgi.service.prefs.Preferences;


/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
	 */
	public void initializeDefaultPreferences() {
		Preferences prefs = new DefaultScope().getNode(AlarmTreePlugin.PLUGIN_ID);
		prefs.put(PreferenceConstants.LDAP_URL, "ldap://krynfs.desy.de:389/o=DESY,c=DE");
		prefs.put(PreferenceConstants.LDAP_USER, "");
		prefs.put(PreferenceConstants.LDAP_PASSWORD, "");
		prefs.put(PreferenceConstants.FACILITIES, "");
		prefs.put(PreferenceConstants.JMS_URL_PRIMARY, "tcp://elogbook.desy.de:64616");
		prefs.put(PreferenceConstants.JMS_URL_SECONDARY, "tcp://krynfs.desy.de:62616");
		prefs.put(PreferenceConstants.JMS_CONTEXT_FACTORY_PRIMARY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory");
		prefs.put(PreferenceConstants.JMS_CONTEXT_FACTORY_SECONDARY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory");
		prefs.put(PreferenceConstants.JMS_QUEUE, "ALARM");
{'fraction_non_alphanumeric': 0.12078152753108348, 'fraction_numerical': 0.009236234458259326, 'mean_word_length': 7.115273775216139, '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': '836961', 'n_tokens_mistral': 991, 'n_tokens_neox': 942, 'n_words': 97}