Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Refactoring -> Pull Up gives brocken code
Refactoring -> Pull Up gives brocken code [message #890218] Thu, 21 June 2012 09:51 Go to next message
Eclipse UserFriend
Hi,

im not sure if its really an bug or im just expecting somethign different Smile

If i use the "Refactor -> Pull Up" command inside an java editor and choose an interface theses extracted methods should be added to. They are added but with an "abstract" modifier.

    
public final ILHTreeNode getRoot() {
        return root;
}

gives ...
    
public abstract ILHTreeNode getRoot();


"final" modifier are removed correctly.

Am i missing something or is the "Pull Up" command expecting that i choose a base class as target?


Regards
Johan
Re: Refactoring -> Pull Up gives brocken code [message #893620 is a reply to message #890218] Wed, 04 July 2012 19:16 Go to previous message
Eclipse UserFriend
I'm not sure what you are surprised about? What is broken? What'd you expect?

best,
Stephan
Previous Topic:Interface in one project and Implementation in annother
Next Topic:Marker ID Not Fount
Goto Forum:
  


Current Time: Thu Jul 03 20:49:33 EDT 2025

Powered by FUDForum. Page generated in 0.03625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top