[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xindice-dev
Subject:    svn commit: r571951 -
From:       vgritsenko () apache ! org
Date:       2007-09-02 10:53:52
Message-ID: 20070902105352.6A79F1A983A () eris ! apache ! org
[Download RAW message or body]

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;
     }
 
     /**


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic