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();


Reply via email to