Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 92819 invoked from network); 25 Dec 2004 21:02:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Dec 2004 21:02:52 -0000 Received: (qmail 25324 invoked by uid 500); 25 Dec 2004 21:02:51 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 24830 invoked by uid 500); 25 Dec 2004 21:02:49 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 24815 invoked by uid 99); 25 Dec 2004 21:02:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of flamefew@gmail.com designates 64.233.170.206 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.206) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 25 Dec 2004 13:02:46 -0800 Received: by rproxy.gmail.com with SMTP id g11so122714rne for ; Sat, 25 Dec 2004 13:02:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=c0HPTnfNdt/aN3OHXIhtH5pdbIj1lsCWeT7nh6+litzHRqwT85CTttZHljYNlZdkJxidsZXSRC7HGVtFHNNio32y9VQ+vxlUMC5zdky5nGtR55sHj9Saw/58ngwP61HT+ge1H7OLdD/IiKsrpvdzBQ2lLxZkPkq+CwmwF+aVMZc= Received: by 10.38.125.64 with SMTP id x64mr609429rnc; Sat, 25 Dec 2004 13:02:44 -0800 (PST) Received: by 10.38.86.24 with HTTP; Sat, 25 Dec 2004 13:02:43 -0800 (PST) Message-ID: <31cc3736041225130258b7be8c@mail.gmail.com> Date: Sat, 25 Dec 2004 16:02:43 -0500 From: Henri Yandell Reply-To: Henri Yandell To: Jakarta Commons Developers List Subject: Re: [Lang] StrTokenizer changes In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org