mbien commented on PR #8407: URL: https://github.com/apache/netbeans/pull/8407#issuecomment-2790190761
comparing strings with == opens a different can of worms. The second attempt after https://github.com/apache/netbeans/pull/8391#discussion_r2027026494 used an enum - enums were made for this. If we go only for API compatibility -> n times `new Object()` is sufficient since that is exactly what the API says. But this will break client code. -- 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