Return-Path: Delivered-To: apmail-incubator-pig-commits-archive@locus.apache.org Received: (qmail 47854 invoked from network); 25 Jan 2008 00:13:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2008 00:13:22 -0000 Received: (qmail 22995 invoked by uid 500); 25 Jan 2008 00:13:12 -0000 Delivered-To: apmail-incubator-pig-commits-archive@incubator.apache.org Received: (qmail 22970 invoked by uid 500); 25 Jan 2008 00:13:12 -0000 Mailing-List: contact pig-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pig-dev@incubator.apache.org Delivered-To: mailing list pig-commits@incubator.apache.org Received: (qmail 22961 invoked by uid 99); 25 Jan 2008 00:13:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2008 16:13:12 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2008 00:13:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EC9081A9832; Thu, 24 Jan 2008 16:12:58 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r615084 - /incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java Date: Fri, 25 Jan 2008 00:12:58 -0000 To: pig-commits@incubator.apache.org From: olga@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080125001258.EC9081A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olga Date: Thu Jan 24 16:12:56 2008 New Revision: 615084 URL: http://svn.apache.org/viewvc?rev=615084&view=rev Log: Fixed test case for PIG-63 Modified: incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java Modified: incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java URL: http://svn.apache.org/viewvc/incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java?rev=615084&r1=615083&r2=615084&view=diff ============================================================================== --- incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java (original) +++ incubator/pig/trunk/test/org/apache/pig/test/TestBuiltin.java Thu Jan 24 16:12:56 2008 @@ -315,10 +315,9 @@ sb.append(i + "\t" + i + "\t" + j % 2 + "\n"); } } - FakeFSInputStream ffis15 = new FakeFSInputStream(sb.toString() - .getBytes()); - p15.bindTo(null, new BufferedPositionedInputStream(ffis15), 0, input1 - .getBytes().length); + byte bytes[] = sb.toString().getBytes(); + FakeFSInputStream ffis15 = new FakeFSInputStream(bytes); + p15.bindTo(null, new BufferedPositionedInputStream(ffis15), 0, bytes.length); int count = 0; while (true) { Tuple f15 = p15.getNext();