dca00 opened a new issue, #9667: URL: https://github.com/apache/netbeans/issues/9667
### Apache NetBeans version Apache NetBeans 31 ### What happened In a method, a HashSet initialization was underlined, and I hit Alt-Enter and chose the only entry: <img width="561" height="303" alt="Image" src="https://github.com/user-attachments/assets/9df27c65-3dbe-4288-a30b-77587679dcb6" /> It did not result in the removal of String. Repeated attempts also failed to remove it. I duplicated the method as A() above, but the same String was not underlined. ### Language / Project Type / NetBeans Component Java Maven ### How to reproduce Create a new Java project. Add a class with the method as in the screenshot above. Hit Alt-Enter on the underlined String. Select the suggestion. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Linux ### JDK 21 ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else _No response_ ### Are you willing to submit a pull request? No -- 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
