mbien commented on code in PR #6585:
URL: https://github.com/apache/netbeans/pull/6585#discussion_r1365386620


##########
ide/extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java:
##########
@@ -127,6 +132,169 @@ public NbDdeBrowserImpl (ExtWebBrowser extBrowserFactory) 
{
      */
     public static native String getDefaultOpenCommand() throws 
NbBrowserException;
     
+    /**
+     * Get the default browser name using java
+     * part of the solution source 
https://stackoverflow.com/questions/62289/read-write-to-windows-registry-using-java
+     * @return 
+     */
+    private static String getDefaultWindowsBrowser()
+    {
+        try
+        {

Review Comment:
   sorry that I gave you such vague instructions, same rule for the closing 
braces too:
   ```java
               if (sw.toString().toUpperCase().contains(ExtWebBrowser.FIREFOX)) 
{
                   return ExtWebBrowser.FIREFOX;
               } else if 
(sw.toString().toUpperCase().contains(ExtWebBrowser.CHROME)) {
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to