[Cuis-dev] ExtractMethod duplicates finder fix

Juan Vuletich juan at cuis.st
Wed Sep 30 11:40:41 PDT 2026


Now at GitHub. Thanks!

On 2026-09-26 11:44 AM, Hernán Wilkinson via Cuis-dev wrote:
> Hi,
>  Attached is a fix for when the receiver is an instance variable while 
> looking for duplicates.
>  A duplicate was found in this code:
> ---
> isHoliday: aPotentialHoliday
>
> ^ ( weekdayHolidays includes: aPotentialHoliday day) or: [ 
>  monthdayHolidays includes: aPotentialHoliday dayOfMonth ]
> ---
>  when extracting `weekdayHolidays includes: aPotentialHoliday day`, 
> but the generated method did not parameterize the receiver.
>
>  The fix includes  its tests too.
>
> Cheers
> HErnan.
> -- 
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
-- 
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20260930/305aec82/attachment.htm>


More information about the Cuis-dev mailing list