Author: ruschein
Date: 2010-02-03 16:04:28 -0800 (Wed, 03 Feb 2010)
New Revision: 19172

Modified:
   cytoscape/trunk/src/cytoscape/util/OpenBrowser.java
Log:
Yet another defaultWebBrowser bug fix.

Modified: cytoscape/trunk/src/cytoscape/util/OpenBrowser.java
===================================================================
--- cytoscape/trunk/src/cytoscape/util/OpenBrowser.java 2010-02-03 23:59:56 UTC 
(rev 19171)
+++ cytoscape/trunk/src/cytoscape/util/OpenBrowser.java 2010-02-04 00:04:28 UTC 
(rev 19172)
@@ -66,7 +66,7 @@
        public static void openURL(final String url) {
                final Properties prop = CytoscapeInit.getProperties();
                String defBrowser = prop.getProperty("defaultWebBrowser");
-               if (defBrowser.equals(""))
+               if (defBrowser != null && defBrowser.equals(""))
                        defBrowser = null;
                final String osName = System.getProperty("os.name");
 

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to