Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Extracting static method

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mspa Posted - Mar 23 2007 : 08:30:55 AM
Using VAX 10.3.1549.0

I have a static class with only static methods. When extracting a piece of code from one of these static methods, the extracted method is created as a non-static method.

As far as I know you always want the extracted method to be static when extracting code from a static method.

2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 10 2009 : 3:17:58 PM
case=5647 is fixed in build 1734
feline Posted - Mar 23 2007 : 11:22:13 AM
This is a good point, I have put in a bug report for this:

case=5647

For now you just have to manually add "static" to the extracted method.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000