1) Reintroduced PHPPerspectiveFactory (was lost with refactoring).
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / overlaypages / Messages.java
index efc0f8e..417990b 100644 (file)
@@ -13,29 +13,29 @@ package net.sourceforge.phpeclipse.ui.overlaypages;
 
 import java.util.ResourceBundle;
 
-
 public class Messages {
 
-       private final static String RESOURCE_BUNDLE= "net.sourceforge.phpeclipse.ui.overlaypages.Messages";//$NON-NLS-1$
-       
+       private final static String RESOURCE_BUNDLE = "net.sourceforge.phpeclipse.ui.overlaypages.Messages";//$NON-NLS-1$
+
        private static ResourceBundle fgResourceBundle = null;
-       
+
        private static boolean notRead = true;
 
        public Messages() {
        }
+
        public static ResourceBundle getResourceBundle() {
                if (notRead) {
                        notRead = false;
                        try {
                                fgResourceBundle = ResourceBundle.getBundle(RESOURCE_BUNDLE);
-                       }
-                       catch (Exception e) {
+                       } catch (Exception e) {
                        }
                }
-               
+
                return fgResourceBundle;
        }
+
        public static String getString(String key) {
                try {
                        return getResourceBundle().getString(key);
@@ -44,4 +44,3 @@ public class Messages {
                }
        }
 }
-