Return-Path: Delivered-To: apmail-jakarta-oro-dev-archive@www.apache.org Received: (qmail 60149 invoked from network); 15 Jun 2004 02:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jun 2004 02:45:30 -0000 Received: (qmail 88543 invoked by uid 500); 15 Jun 2004 02:45:54 -0000 Delivered-To: apmail-jakarta-oro-dev-archive@jakarta.apache.org Received: (qmail 88438 invoked by uid 500); 15 Jun 2004 02:45:53 -0000 Mailing-List: contact oro-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "ORO Developers List" Reply-To: "ORO Developers List" Delivered-To: mailing list oro-dev@jakarta.apache.org Received: (qmail 88411 invoked by uid 500); 15 Jun 2004 02:45:52 -0000 Received: (qmail 88405 invoked by uid 99); 15 Jun 2004 02:45:52 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 14 Jun 2004 19:45:52 -0700 Received: (qmail 60128 invoked by uid 1170); 15 Jun 2004 02:45:28 -0000 Date: 15 Jun 2004 02:45:28 -0000 Message-ID: <20040615024528.60127.qmail@minotaur.apache.org> From: dfs@apache.org To: jakarta-oro-cvs@apache.org Subject: cvs commit: jakarta-oro/src/java/org/apache/oro/text/regex Perl5Matcher.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N dfs 2004/06/14 19:45:28 Modified: src/java/org/apache/oro/text/regex Perl5Matcher.java Log: Adjusted access of __lastMatchResult fields to use the new protected field names. Revision Changes Path 1.29 +9 -9 jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java Index: Perl5Matcher.java =================================================================== RCS file: /home/cvs/jakarta-oro/src/java/org/apache/oro/text/regex/Perl5Matcher.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- Perl5Matcher.java 13 Feb 2004 22:02:00 -0000 1.28 +++ Perl5Matcher.java 15 Jun 2004 02:45:28 -0000 1.29 @@ -217,33 +217,33 @@ if(__endMatchOffsets[0] > __originalInput.length) throw new ArrayIndexOutOfBoundsException(); - __lastMatchResult._matchBeginOffset = __beginMatchOffsets[0]; + __lastMatchResult._matchBeginOffset_ = __beginMatchOffsets[0]; while(__numParentheses >= 0) { offs = __beginMatchOffsets[__numParentheses]; if(offs >= 0) - __lastMatchResult._beginGroupOffset[__numParentheses] = - offs - __lastMatchResult._matchBeginOffset; + __lastMatchResult._beginGroupOffset_[__numParentheses] = + offs - __lastMatchResult._matchBeginOffset_; else - __lastMatchResult._beginGroupOffset[__numParentheses] = + __lastMatchResult._beginGroupOffset_[__numParentheses] = OpCode._NULL_OFFSET; offs = __endMatchOffsets[__numParentheses]; if(offs >= 0) { - __lastMatchResult._endGroupOffset[__numParentheses] = - offs - __lastMatchResult._matchBeginOffset; + __lastMatchResult._endGroupOffset_[__numParentheses] = + offs - __lastMatchResult._matchBeginOffset_; if(offs > maxEndOffs && offs <= __originalInput.length) maxEndOffs = offs; } else - __lastMatchResult._endGroupOffset[__numParentheses] = + __lastMatchResult._endGroupOffset_[__numParentheses] = OpCode._NULL_OFFSET; --__numParentheses; } - __lastMatchResult._match = + __lastMatchResult._match_ = new String(__originalInput, __beginMatchOffsets[0], maxEndOffs - __beginMatchOffsets[0]); --------------------------------------------------------------------- To unsubscribe, e-mail: oro-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: oro-dev-help@jakarta.apache.org