A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / editor / EditorMessages.java
index 2f7b552..2c826cd 100644 (file)
@@ -8,7 +8,7 @@
  * 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;
@@ -21,21 +21,23 @@ import java.util.ResourceBundle;
  */
 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;
+       }
 }