Author: nextgens
Date: 2008-08-26 14:24:45 +0000 (Tue, 26 Aug 2008)
New Revision: 22177

Modified:
   trunk/freenet/src/freenet/support/io/ArrayBucket.java
Log:
remove dead code

Modified: trunk/freenet/src/freenet/support/io/ArrayBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/ArrayBucket.java       2008-08-26 
14:17:17 UTC (rev 22176)
+++ trunk/freenet/src/freenet/support/io/ArrayBucket.java       2008-08-26 
14:24:45 UTC (rev 22177)
@@ -67,16 +67,6 @@
                return s.toString();
        }

-       public synchronized void read(InputStream in) throws IOException {
-               OutputStream out = new ArrayBucketOutputStream();
-               int i;
-               byte[] b = new byte[8 * 1024];
-               while((i = in.read(b)) != -1) {
-                       out.write(b, 0, i);
-               }
-               out.close();
-       }
-
        public synchronized long size() {
                return size;
        }


Reply via email to