A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / internal / WebUIMessages.java
index 885d41b..874983b 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Christopher Lenz - initial API and implementation
  * 
- * $Id: WebUIMessages.java,v 1.1 2004-09-02 18:26:29 jsurfer Exp $
+ * $Id: WebUIMessages.java,v 1.2 2006-10-21 23:13:54 pombredanne Exp $
  */
 
 package net.sourceforge.phpeclipse.ui.internal;
@@ -27,16 +27,15 @@ public final class WebUIMessages {
        /**
         * Qualified name of the resource bundle containing the localized messages.
         */
-       private static final String RESOURCE_BUNDLE =
-               "net.sourceforge.phpeclipse.ui.internal.WebUIMessages"; //$NON-NLS-1$
+       private static final String RESOURCE_BUNDLE = "net.sourceforge.phpeclipse.ui.internal.WebUIMessages"; //$NON-NLS-1$
 
        // Class Variables ---------------------------------------------------------
 
        /**
         * The resource bundle.
         */
-       private static ResourceBundle resourceBundle =
-               ResourceBundle.getBundle(RESOURCE_BUNDLE);
+       private static ResourceBundle resourceBundle = ResourceBundle
+                       .getBundle(RESOURCE_BUNDLE);
 
        // Constructors ------------------------------------------------------------
 
@@ -61,7 +60,8 @@ public final class WebUIMessages {
        /**
         * Returns the message identified by the specified key.
         * 
-        * @param key the message key
+        * @param key
+        *            the message key
         * @return the localized message, or the key enclosed by exclamation marks
         *         if no message was found for the key
         */
@@ -77,10 +77,12 @@ public final class WebUIMessages {
         * Returns the message identified by the specified key, replacing a single
         * parameter with the provided value.
         * 
-        * @param key the message key
-        * @param arg the parameter value
-        * @return the formatted string, or the key enclosed by exclamation marks
-        *         if no message was found for the key
+        * @param key
+        *            the message key
+        * @param arg
+        *            the parameter value
+        * @return the formatted string, or the key enclosed by exclamation marks if
+        *         no message was found for the key
         */
        public static String getString(String key, String arg) {
                return getString(key, new String[] { arg });
@@ -90,13 +92,15 @@ public final class WebUIMessages {
         * Returns the message identified by the specified key, replacing all
         * parameters with the provided values.
         * 
-        * @param key the message key
-        * @param args the parameter values
-        * @return the formatted string, or the key enclosed by exclamation marks
-        *         if no message was found for the key
+        * @param key
+        *            the message key
+        * @param args
+        *            the parameter values
+        * @return the formatted string, or the key enclosed by exclamation marks if
+        *         no message was found for the key
         */
        public static String getString(String key, String[] args) {
-               return MessageFormat.format(getString(key), args);      
+               return MessageFormat.format(getString(key), args);
        }
 
 }