1) Fixed issue #764: Ignore strings when looking for single line comments.
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / internal / WebBrowserUtil.java
index e5e0e72..de4787a 100644 (file)
@@ -46,7 +46,7 @@ public class WebBrowserUtil {
 
        private static List unlockedFavorites;
 
-       private static final String BROWSER_PACKAGE_NAME = "org.eclipse.swt.browser.Browser";
+       //private static final String BROWSER_PACKAGE_NAME = "org.eclipse.swt.browser.Browser";
 
        public static Boolean isInternalBrowserOperational;
 
@@ -90,9 +90,9 @@ public class WebBrowserUtil {
        /**
         * WebBrowserUtil constructor comment.
         */
-       public WebBrowserUtil() {
-               super();
-       }
+//     public WebBrowserUtil() {
+//             super();
+//     }
 
        /**
         * Returns true if we're running on Windows.
@@ -112,13 +112,13 @@ public class WebBrowserUtil {
         * 
         * @return boolean
         */
-       public static boolean isLinux() {
-               String os = System.getProperty("os.name");
-               if (os != null && os.toLowerCase().indexOf("lin") >= 0)
-                       return true;
-               else
-                       return false;
-       }
+//     public static boolean isLinux() {
+//             String os = System.getProperty("os.name");
+//             if (os != null && os.toLowerCase().indexOf("lin") >= 0)
+//                     return true;
+//             else
+//                     return false;
+//     }
 
        /**
         * Open a dialog window.
@@ -259,15 +259,15 @@ public class WebBrowserUtil {
         * 
         * @return boolean
         */
-       public static boolean canUseInternalWebBrowser() {
-               try {
-                       Class clazz = Class.forName(BROWSER_PACKAGE_NAME);
-                       if (clazz != null)
-                               return true;
-               } catch (ClassNotFoundException e) {
-               }
-               return false;
-       }
+//     public static boolean canUseInternalWebBrowser() {
+//             try {
+//                     Class clazz = Class.forName(BROWSER_PACKAGE_NAME);
+//                     if (clazz != null)
+//                             return true;
+//             } catch (ClassNotFoundException e) {
+//             }
+//             return false;
+//     }
 
        /**
         * This method checks to see if it can new up a new Browser. If the SWT