matthiasblaesing commented on code in PR #8542:
URL: https://github.com/apache/netbeans/pull/8542#discussion_r2159572097


##########
enterprise/payara.common/src/org/netbeans/modules/payara/common/actions/StopServerAction.java:
##########
@@ -71,6 +71,9 @@ protected boolean enable(Node[] activatedNodes) {
     }
 
     private static boolean enableImpl(PayaraModule commonSupport) {
+        if 
(Boolean.TRUE.toString().equals(commonSupport.getInstanceProperties().get(PayaraModule.WSL_ATTR)))
 {
+            return false;
+        }

Review Comment:
   ```suggestion
           if (commonSupport.getInstance().isWSL()) {
               return false;
           }
   ```



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