Return-Path: X-Original-To: apmail-incubator-accumulo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EDA657AD1 for ; Fri, 9 Dec 2011 17:14:32 +0000 (UTC) Received: (qmail 27124 invoked by uid 500); 9 Dec 2011 17:14:32 -0000 Delivered-To: apmail-incubator-accumulo-commits-archive@incubator.apache.org Received: (qmail 27103 invoked by uid 500); 9 Dec 2011 17:14:32 -0000 Mailing-List: contact accumulo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-dev@incubator.apache.org Delivered-To: mailing list accumulo-commits@incubator.apache.org Received: (qmail 27096 invoked by uid 99); 9 Dec 2011 17:14:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 17:14:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 17:14:31 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F042023889E2; Fri, 9 Dec 2011 17:14:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1212525 - /incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java Date: Fri, 09 Dec 2011 17:14:10 -0000 To: accumulo-commits@incubator.apache.org From: billie@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111209171410.F042023889E2@eris.apache.org> Author: billie Date: Fri Dec 9 17:14:10 2011 New Revision: 1212525 URL: http://svn.apache.org/viewvc?rev=1212525&view=rev Log: ACCUMULO-209 applied keith's change Modified: incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java Modified: incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java?rev=1212525&r1=1212524&r2=1212525&view=diff ============================================================================== --- incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java (original) +++ incubator/accumulo/branches/1.4/src/core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java Fri Dec 9 17:14:10 2011 @@ -74,7 +74,7 @@ public class RegExFilter extends Filter private boolean matches(Matcher matcher, ByteSequence bs) { if (matcher != null) { try { - matcher.reset(new String(bs.getBackingArray(), encoding)); + matcher.reset(new String(bs.getBackingArray(), bs.offset(), bs.length(), encoding)); return matcher.matches(); } catch (UnsupportedEncodingException e) { e.printStackTrace();