Merging code from trunk that fixes #774, this work was done by incastrix
[phpeclipse.git] / net.sourceforge.phpeclipse.phphelp / src / net / sourceforge / phpdt / phphelp / PHPHelpPreferenceMessages.java
index 255ef1d..14374c3 100644 (file)
@@ -5,32 +5,34 @@ import java.util.ResourceBundle;
 
 /**
  * @author jsurfer
- *
+ * 
  * 
  */
 public class PHPHelpPreferenceMessages {
 
-  private static final String BUNDLE_NAME = "net.sourceforge.phpdt.phphelp.PHPHelpPreferenceMessages"; //$NON-NLS-1$
+       private static final String BUNDLE_NAME = "net.sourceforge.phpdt.phphelp.PHPHelpPreferenceMessages"; //$NON-NLS-1$
+
+       private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
+                       .getBundle(BUNDLE_NAME);
 
-  private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
+       /**
+        * 
+        */
+       private PHPHelpPreferenceMessages() {
 
-  /**
-   * 
-   */
-  private PHPHelpPreferenceMessages() {
+               // TODO Auto-generated constructor stub
+       }
 
-    // TODO Auto-generated constructor stub
-  }
-  /**
-   * @param key
-   * @return
-   */
-  public static String getString(String key) {
-    // TODO Auto-generated method stub
-    try {
-      return RESOURCE_BUNDLE.getString(key);
-    } catch (MissingResourceException e) {
-      return '!' + key + '!';
-    }
-  }
+       /**
+        * @param key
+        * @return
+        */
+       public static String getString(String key) {
+               // TODO Auto-generated method stub
+               try {
+                       return RESOURCE_BUNDLE.getString(key);
+               } catch (MissingResourceException e) {
+                       return '!' + key + '!';
+               }
+       }
 }