[Cuis-dev] Avoiding categories with leading and trailing blanks

Hernan Wilkinson hernan.wilkinson at 10pines.com
Thu Sep 24 16:15:00 PDT 2020


Attached is a .cs that removes leading and trailing blanks from class and
method categories.
Also, a .cs of BaseImageTests with the related tests.

Cheers!
Hernan.

On Thu, Sep 24, 2020 at 4:09 PM Phil B <pbpublist at gmail.com> wrote:

> Vaguely.  I think when I was trying to make the APIs for the
> image/changesets/fileins universal (to allow for diffing/filein of
> arbitrary sources and targets) I was running into a problem where one of
> the code providers expected (either implicitly or explicitly) a string for
> the category and probably the image was forcing it to a symbol.  I don't
> recall exactly which pairing(s) was/were the issue, but it was something
> along those lines.
>
> On Wed, Sep 23, 2020, 8:07 PM Hernan Wilkinson <
> hernan.wilkinson at 10pines.com> wrote:
>
>> Hi,
>>
>>  BTW, @Phil B <pbpublist at gmail.com> there is a change made by you on
>> 1/9/2020 in Categorizer>>#addCategory: catString before: nextCategory that
>> removes the asSymbol sent to the catString, do you remember why you did
>> that?
>>
>> Cheers
>> Hernan.
>>
>> --
>>
>> *Hernán WilkinsonAgile 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
>>
>

-- 

*Hernán WilkinsonAgile 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200924/832b591c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4383-CategoriesWithoutBlanks-HernanWilkinson-2020Sep24-16h22m-HAW.001.cs.st
Type: application/octet-stream
Size: 7549 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200924/832b591c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnsavedChangesTo-BaseImageTests-HAW.005.cs.st
Type: application/octet-stream
Size: 4152 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200924/832b591c/attachment-0001.obj>


More information about the Cuis-dev mailing list