homberghp commented on issue #7800:
URL: https://github.com/apache/netbeans/issues/7800#issuecomment-2977544277

   What NetBeans refactoring does is pull the element(s) up to the nearest 
super, which can be a class, an abstract class, or 
   interface. In the later, and optionally in the penultimate (the abstract 
class) the member (method) can be made abstract.
   
   In your case the Hierarchy is 
   ```mermaid
   classDiagram
      SuperClass <|-- SubClass
      SubClass <|-- A
      SubClass: + test()
   ```
   
   Pulling up member `test` from Subclass will and should result in 
   ```mermaid
   classDiagram
      SuperClass <|-- SubClass
      SubClass <|-- A
      SuperClass: + test()
   ```
   
   This implies that as far as I am concerned, there is nothing wrong.


-- 
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