/**
 *  Copyright (c) 2013-2014 Angelo ZERR.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Contributors:
 *  Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
 */
package org.eclipse.angularjs.core;

import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;

import tern.eclipse.ide.core.TernCorePlugin;
import tern.metadata.TernModuleMetadataManager;

/**
 * Angular Core Plugin.
 * 
 */
public class AngularCorePlugin extends Plugin {

	public static final String PLUGIN_ID = "org.eclipse.angularjs.core"; //$NON-NLS-1$

	// The shared instance.
	private static AngularCorePlugin plugin;

	/**
	 * The constructor.
	 */
	public AngularCorePlugin() {
		super();
		plugin = this;
	}

	@Override
	public void start(BundleContext context) throws Exception {
		super.start(context);

		TernModuleMetadataManager.getInstance().init(
				TernCorePlugin.getTernCoreBaseDir());

	}

	@Override
	public void stop(BundleContext context) throws Exception {
		plugin = null;
		super.stop(context);
	}

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

@@ -524,105 +524,8 @@
 %0D%0A%0D%0A
-import tern.eclipse.ide.core.TernCorePlugin;%0D%0Aimport tern.metadata.TernModuleMetadataManager;%0D%0A%0D%0A
 /**%0D
@@ -973,104 +973,8 @@
 );%0D%0A
-%0D%0A%09%09TernModuleMetadataManager.getInstance().init(%0D%0A%09%09%09%09TernCorePlugin.getTernCoreBaseDir());%0D%0A%0D%0A
 %09%7D%0D%0A

Fix compilation problem.