Author: vgritsenko Date: Sun Sep 2 03:53:51 2007 New Revision: 571951 URL: http://svn.apache.org/viewvc?rev=571951&view=rev Log: should not expose byte array. not used anyway.
Modified: xml/xindice/trunk/java/src/org/apache/xindice/util/ByteArrayInput.java Modified: xml/xindice/trunk/java/src/org/apache/xindice/util/ByteArrayInput.java URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/util/ByteArrayInput.java?rev=571951&r1=571950&r2=571951&view=diff ============================================================================== --- xml/xindice/trunk/java/src/org/apache/xindice/util/ByteArrayInput.java (original) +++ xml/xindice/trunk/java/src/org/apache/xindice/util/ByteArrayInput.java Sun Sep 2 03:53:51 2007 @@ -24,8 +24,8 @@ import java.io.InputStream; /** - * ByteArrayInput is a wrapper around ByteArrayInputStream that allows one - * access to the underlying array and position pointer. + * ByteArrayInput is a wrapper around ByteArrayInputStream that allows read + * access to the current position pointer. * * @version $Revision$, $Date$ */ @@ -65,15 +65,6 @@ } else { throw new IOException("setPos position out of bounds"); } - } - - /** - * getArray returns the Byte Array. - * - * @return The Byte Array - */ - public byte[] getArray() { - return buf; } /**