DongChunHao opened a new issue, #7576:
URL: https://github.com/apache/netbeans/issues/7576

   ### Apache NetBeans version
   
   Apache NetBeans 22
   
   ### What happened
   
   A syntax error occurred in renaming a method in the interface.
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   selecting 'methodToRename' in interface I
   Renaming 'methodToRename' to 'equals'
   
   Because the new method name 'equals' is the method in the existing API, it 
causes a compilation error when applied to refactor the new name
   
![image](https://github.com/user-attachments/assets/85153f64-f516-44b5-84ad-3796a34c12b8)
   
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows11
   
   ### JDK
   
   20
   
   ### Apache NetBeans packaging
   
   Other
   
   ### 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

Reply via email to