* Contributors:
* Igor Malinin - initial contribution
*
- * $Id: EditorMessages.java,v 1.2 2004-09-03 17:30:33 jsurfer Exp $
+ * $Id: EditorMessages.java,v 1.3 2006-10-21 23:13:54 pombredanne Exp $
*/
package net.sourceforge.phpeclipse.ui.editor;
*/
public class EditorMessages {
private static ResourceBundle bundle = ResourceBundle
- .getBundle("net.sourceforge.phpeclipse.ui.editor.EditorMessages"); //$NON-NLS-1$
+ .getBundle("net.sourceforge.phpeclipse.ui.editor.EditorMessages"); //$NON-NLS-1$
- private EditorMessages() {}
+ private EditorMessages() {
+ }
- public static String getString( String key ) {
+ public static String getString(String key) {
try {
- return bundle.getString( key );
- } catch ( MissingResourceException e ) {
+ return bundle.getString(key);
+ } catch (MissingResourceException e) {
return "!" + key + "!"; //$NON-NLS-1$ //$NON-NLS-2$
}
}
- /**
- * @return Returns the bundle.
- */
- public static ResourceBundle getResourceBundle() {
- return bundle;
- }
+
+ /**
+ * @return Returns the bundle.
+ */
+ public static ResourceBundle getResourceBundle() {
+ return bundle;
+ }
}