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


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

Review Comment:
   
[Boolean.parseBoolean()](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Boolean.html#parseBoolean(java.lang.String))
 might be better for those checks?



-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to