<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Integrated at GitHub. Thanks!</p>
<div class="moz-cite-prefix">On 2026-09-22 3:49 PM, Hernán Wilkinson
via Cuis-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGgF3Gw6Jjirkt8+Cd04Y7ChoG4=Fq1zWCbR7CQktWtqU3CK6Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi,</div>
<div> the current impl of ExtractMethod does not find this two
pieces of code as duplicates:</div>
<div>------</div>
<div>salesToAdaLovelace := salesSystem salesMadeTo: adaLovelace.<br>
self assert: 1 equals: salesToAdaLovelace size.<br>
self assert: 1 equals: (salesToAdaLovelace count: [ :aProduct
| aProduct = self combo1 ]).<br>
--------<br>
salesToAlanKay := salesSystem salesMadeTo: alanKay.<br>
self assert: 1 equals: salesToAlanKay size.<br>
self assert: 1 equals: (salesToAlanKay count: [ :aProduct |
aProduct = self combo2 ])</div>
<div>----</div>
<div> The attached cs makes the ExtractMethod to find them so it
can be extracted this way:</div>
<div>self salesMadeBy: adaLovelace are: [ :aProduct | aProduct =
self combo1 ].<br>
self salesMadeBy: alanKay are: [ :aProduct | aProduct = self
combo2 ]</div>
<div><br>
</div>
<div>Cheers!</div>
<div>Hernan</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-size:small">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span
style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span
style="font-size:8pt"><span
style="font-size:small"><font size="2"><span
style="font-weight:normal"><span
style="font-weight:bold">Hernán
Wilkinson</span><br>
Agile Software Development, Teaching
& Coaching</span></font></span></span></strong></span></div>
<div style="font-size:12.8px"><span
style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span
style="font-size:8pt"><span
style="font-size:small"><font size="2"><span
style="font-weight:normal">Phone:
+54-011</span></font></span></span></strong></span><font
face="tahoma, sans-serif" size="2">-4893-2057</font></div>
<div style="font-size:12.8px"><strong
style="font-family:tahoma,sans-serif;font-size:xx-small"><span
style="font-size:8pt"><span
style="font-size:small"><font size="2"><span
style="font-weight:normal">Twitter:
@HernanWilkinson</span></font></span></span></strong></div>
<div style="font-size:12.8px"><span
style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span
style="font-size:8pt"><span
style="font-size:small"><font size="2"><span
style="font-weight:normal">site: <a
href="http://www.10pines.com/"
style="color:rgb(17,65,112)"
target="_blank"
moz-do-not-send="true">http://www.10Pines.com</a></span></font></span></span></strong></span></div>
<div style="font-size:12.8px"><font
face="tahoma, sans-serif"><span
style="border-collapse:collapse">Address:
Alem 896</span></font>, Floor 6, Buenos
Aires, Argentina</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis.st">www.cuis.st</a>
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich</pre>
</body>
</html>