[Cuis-dev] Fix to ExtractMethod

Hernan Wilkinson hernan.wilkinson at gmail.com
Mon Oct 18 14:47:19 PDT 2021


Hi,
 attached is a fix for the extract method an its test.
 Previously for this code:
 [ line notNil ] whileTrue: [
   self isCustomerData ifTrue: [ self importCustomer ].
   self isAddressData ifTrue: [ self importAddress] ].

 You could not extract:
   self isCustomerData ifTrue: [ self importCustomer ].
   self isAddressData ifTrue: [ self importAddress].

This fix solves the problem.

Cheers!
Hernan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211018/c0a634a7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-BaseImageTests-HAW.014.cs.st
Type: application/octet-stream
Size: 724 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211018/c0a634a7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4914-ExtractMethodFixWhenManyBlocksInsideABlock-HernanWilkinson-2021Oct18-12h39m-HAW.001.cs.st
Type: application/octet-stream
Size: 1773 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211018/c0a634a7/attachment-0001.obj>


More information about the Cuis-dev mailing list