commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <>
Subject Re: [Lang] StrTokenizer changes
Date Sat, 25 Dec 2004 21:02:43 GMT
On Thu, 23 Dec 2004 14:02:45 -0500, Inger, Matthew <> wrote:
> I have made the following changes in the StrTokenizer class:
> 2. There is now a "trimMatcher" which takes the functionality that the old
>     misnamed "ignoreMatcher" did.  However, the old version only trimmed
>     characters from the left side of the token.  The trim matcher will trim
> any
>     matching characters from both sides of the token until a non matching
> character
>     is encountered.  The default for the "trimMatcher" is not to trim any
> characters.

The default in the code seems to be for trim matcher to trim less than
32 ascii chars. Thus the three failing tests. So I've changed thr
default trimmer from a TrimMatcher to a NoMatcher.

Seems to work now.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message