mbien opened a new pull request, #9462: URL: https://github.com/apache/netbeans/pull/9462
inspired by https://github.com/apache/netbeans/pull/9459 I ran: ```java "possible bug: ambiguous ternary concatenation": $pre + $nullable != null ? $a : $b => $pre + ($nullable != null ? $a : $b) ;; "possible bug: ambiguous ternary concatenation": $pre + $nullable == null ? $a : $b => $pre + ($nullable == null ? $a : $b) ;; ``` Eval order is from left to right which can lead to undesired effects when the right side has a ternary operator. This puts the ternary operation in braces (or avoids the situation by other means) -- 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
