JaroslavTulach commented on a change in pull request #1092: Using Scripting API 
in platform/core.network
URL: 
https://github.com/apache/incubator-netbeans/pull/1092#discussion_r250107636
 
 

 ##########
 File path: 
platform/core.network/src/org/netbeans/core/network/proxy/NetworkProxyReloader.java
 ##########
 @@ -78,8 +78,9 @@ public static void reloadNetworkProxy() {
         } else {
             LOGGER.log(Level.INFO, "System network proxy reloading 
succeeded."); //NOI18N
         }
-                       
-        switch (networkProxySettings.getProxyMode()) {
+
+        NetworkProxySettings.ProxyMode mode = 
networkProxySettings.getProxyMode();
+        switch (mode) {
             case AUTO:
 
 Review comment:
   With this change it is easier for me to mangle the value of `mode` in 
debugger before the `switch` statement is executed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
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