Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Extracting static method
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mspa
Senior Member

Netherlands
44 Posts

Posted - Mar 23 2007 :  08:30:55 AM  Show Profile  Reply with Quote
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.


Edited by - mspa on Mar 23 2007 08:31:56 AM

feline
Whole Tomato Software

United Kingdom
19024 Posts

Posted - Mar 23 2007 :  11:22:13 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 10 2009 :  3:17:58 PM  Show Profile  Reply with Quote
case=5647 is fixed in build 1734

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000