/**
* Copyright (c) 2013-2016 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 tern.eclipse.ide.linter.jscs.internal.ui;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.eclipse.osgi.util.NLS;
/**
* Tern JSCS UI messages.
*
*/
public final class TernJSCSUIMessages extends NLS {
private static final String BUNDLE_NAME = "tern.eclipse.ide.linter.jscs.internal.ui.TernJSCSUIMessages"; //$NON-NLS-1$
private static ResourceBundle fResourceBundle;
// Preferences
private TernJSCSUIMessages() {
}
public static ResourceBundle getResourceBundle() {
try {
if (fResourceBundle == null)
fResourceBundle = ResourceBundle.getBundle(BUNDLE_NAME);
} catch (MissingResourceException x) {
fResourceBundle = null;
}
return fResourceBundle;
}
static {
NLS.initializeMessages(BUNDLE_NAME, TernJSCSUIMessages.class);
}
}