Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:51 Go to next message
Johan Schulz is currently offline Johan SchulzFriend
Messages: 20
Registered: November 2010
Junior Member
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 23:16 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
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: Fri Mar 29 15:04:33 GMT 2024

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

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

Back to the top