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

   ### Apache NetBeans version
   
   Apache NetBeans 30
   
   ### What happened
   
   In the example class file below,
   1. cursor on class decl class name, line 8
   2. rename RefactorRenameCommentFormat to Foo
   3. checked: Applay Rename on Comments
   4. \<CR> to refactor
   
   Observe The comments, line 6 and 13, messed up.
   If there are multiple lines after the \<p> the whole paragraph if affected.
   
   NOTE: if \<p> is taken away, 
   1. the comment indentation is not changed
   2. the class name in the comment is not renamed.
   
   
   ```
   package com.raelity.play;
   
   /**
    * Some stuff.
    * <p>
    * This is stuff RefactorRenameCommentFormat.someMethod().anotherMethod.
    */
   public class RefactorRenameCommentFormat
   {
       /**
        * Some stuff.
        * <p>
        * This is stuff RefactorRenameCommentFormat.someMethod().anotherMethod.
        */
       public RefactorRenameCommentFormat someMethod() {
           return null;
       }
       public String anotherMethod() {
           return null;
       }
   }
   ```
   
   ### Language / Project Type / NetBeans Component
   
   java/javadoc
   
   ### How to reproduce
   
   See OP.
   I'm assuming this a regression since #8233 was a regression. This might be 
another case of the same problem from #8233.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 26 or earlier
   
   ### Operating System
   
   Linux harmony 7.0.9-76070009-generic #202605191504~1779464622~22.04~ef31795 
SMP PREEMPT_DYNAMIC Fri M x86_64 x86_64 x86_64 GNU/Linux
   
   ### JDK
   
   Java: 26; OpenJDK 64-Bit Server VM 26+35-2893 Runtime: OpenJDK Runtime 
Environment 26+35-2893
   
   ### 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

Reply via email to