<commit_before>package org.tigris.subversion.clientadapter.svnkit;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.core.runtime.Status;
import org.osgi.framework.BundleContext;
import org.tigris.subversion.clientadapter.ISVNClientWrapper;
import org.tigris.subversion.svnclientadapter.ISVNClientAdapter;

/**
 * The activator class controls the plug-in life cycle
 */
public class Activator extends Plugin implements ISVNClientWrapper {

	// The plug-in ID
	public static final String PLUGIN_ID = "org.tigris.subversion.clientadapter.svnkit";

	// Extension point
	public static final String PT_SVNCONNECTORFACTORY = "svnconnectorfactory"; //$NON-NLS-1$

	// The shared instance
	private static Activator plugin;

	private String displayName;
	private String version;

//	private ISVNConnectorFactory factory=null;
	private boolean runOnce = false;
	
	/**
	 * The constructor
	 */
	public Activator() {
	}

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
	 */
	public void start(BundleContext context) throws Exception {
		super.start(context);
		plugin = this;
	}

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
	 */
	public void stop(BundleContext context) throws Exception {
		plugin = null;
		super.stop(context);
	}

	/**
	 * Returns the shared instance
	 *
	 * @return the shared instance
	 */
	public static Activator getDefault() {
		return plugin;
	}

	public ISVNClientAdapter getAdapter() {
//		if (this.isAvailable())
//			return new SvnKitClientAdapter(null, null, getPluggedInSVNConnectorFactor());
//		else
			return null;
	}

	public String getAdapterID() {
		return "svnkit";
	}

	public String getVersionString() {
		return getVersionSynchronized();
	}

	private synchronized String getVersionSynchronized() {
		if (version == null) {
//			if (this.isAvailable()) {
//				SVNClientImpl adapter = SVNClientImpl.newInstance();
//				version = adapter.getVersion().toString();
//			} else
				version = "Not Available";
			}
		return version;
	}

	public boolean isAvailable() {
//		return SvnKitClientAdapterFactory.isAvailable();
		return false;
	}

	public void setDisplayName(String string) {<commit_msg>Change string to say not supported instead of not available<commit_after>package org.tigris.subversion.clientadapter.svnkit;

import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.core.runtime.Status;
import org.osgi.framework.BundleContext;
import org.tigris.subversion.clientadapter.ISVNClientWrapper;
import org.tigris.subversion.svnclientadapter.ISVNClientAdapter;

/**
 * The activator class controls the plug-in life cycle
 */
public class Activator extends Plugin implements ISVNClientWrapper {

	// The plug-in ID
	public static final String PLUGIN_ID = "org.tigris.subversion.clientadapter.svnkit";

	// Extension point
	public static final String PT_SVNCONNECTORFACTORY = "svnconnectorfactory"; //$NON-NLS-1$

	// The shared instance
	private static Activator plugin;

	private String displayName;
	private String version;

//	private ISVNConnectorFactory factory=null;
	private boolean runOnce = false;
	
	/**
	 * The constructor
	 */
	public Activator() {
	}

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
	 */
	public void start(BundleContext context) throws Exception {
		super.start(context);
		plugin = this;
	}

	/*
	 * (non-Javadoc)
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
	 */
	public void stop(BundleContext context) throws Exception {
		plugin = null;
		super.stop(context);
	}

	/**
	 * Returns the shared instance
	 *
	 * @return the shared instance
	 */
	public static Activator getDefault() {
		return plugin;
	}

	public ISVNClientAdapter getAdapter() {
//		if (this.isAvailable())
//			return new SvnKitClientAdapter(null, null, getPluggedInSVNConnectorFactor());
//		else
			return null;
	}

	public String getAdapterID() {
		return "svnkit";
	}

	public String getVersionString() {
		return getVersionSynchronized();
	}

	private synchronized String getVersionSynchronized() {
		if (version == null) {
//			if (this.isAvailable()) {
//				SVNClientImpl adapter = SVNClientImpl.newInstance();
//				version = adapter.getVersion().toString();
//			} else
				version = "Not Supported with 1.6 Yet";
			}
		return version;
	}

	public boolean isAvailable() {
//		return SvnKitClientAdapterFactory.isAvailable();
		return false;
	}

	public void setDisplayName(String string) {
{'fraction_non_alphanumeric': 0.11053874221936037, 'fraction_numerical': 0.0008585533376261, 'mean_word_length': 4.189309576837417, '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': '1225498', 'n_tokens_mistral': 1541, 'n_tokens_neox': 1431, 'n_words': 338}