summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-28 03:19:31 (EDT)
committerEike Stepper2007-08-28 03:19:31 (EDT)
commit45a9e1f93a178aad0cc81f4239aac27996fcb9c3 (patch)
tree2b78ff0a438f9f4526cded1fc1e833c0e84375a4
parent6db884b05fbfd12a688694bc7cd2cdae24c8e476 (diff)
downloadcdo-45a9e1f93a178aad0cc81f4239aac27996fcb9c3.zip
cdo-45a9e1f93a178aad0cc81f4239aac27996fcb9c3.tar.gz
cdo-45a9e1f93a178aad0cc81f4239aac27996fcb9c3.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingInputStream.java5
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingOutputStream.java5
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java3
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java3
4 files changed, 6 insertions, 10 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingInputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingInputStream.java
index 54b38b0..84221e6 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingInputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingInputStream.java
@@ -1,6 +1,5 @@
package org.eclipse.net4j.util.io;
-import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
@@ -14,8 +13,8 @@ import java.io.InputStream;
* <code>DelegatingInputStream</code> may further override some of these
* methods and may also provide additional methods and fields.
* <p>
- * <b>Note:</b> The only difference to {@link FilterInputStream} is that
- * <code>DelegatingInputStream</code> does <b>not</b> override
+ * <b>Note:</b> The only difference to {@link java.io.FilterInputStream} is
+ * that <code>DelegatingInputStream</code> does <b>not</b> override
* {@link #read(byte[])} or {@link #read(byte[], int, int)} but rather exposes
* the original implementations of <code>InputStream</code> which call
* {@link #read()} instead of their delegate counterparts.
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingOutputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingOutputStream.java
index 1f7dcb4..8eb3ca8 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingOutputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/DelegatingOutputStream.java
@@ -1,6 +1,5 @@
package org.eclipse.net4j.util.io;
-import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
@@ -16,8 +15,8 @@ import java.io.OutputStream;
* <code>DelegatingOutputStream</code> may further override some of these
* methods as well as provide additional methods and fields.
* <p>
- * <b>Note:</b> The only difference to {@link FilterOutputStream} is that
- * <code>DelegatingOutputStream</code> does <b>not</b> override
+ * <b>Note:</b> The only difference to {@link java.io.FilterOutputStream} is
+ * that <code>DelegatingOutputStream</code> does <b>not</b> override
* {@link #write(byte[])} or {@link #write(byte[], int, int)} but rather exposes
* the original implementations of <code>InputStream</code> which call
* {@link #write(int)} instead of their delegate counterparts.
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
index 02c1e38..75fc532 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XORInputStream.java
@@ -10,14 +10,13 @@
**************************************************************************/
package org.eclipse.net4j.util.io;
-import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* @author Eike Stepper
*/
-public class XORInputStream extends FilterInputStream
+public class XORInputStream extends DelegatingInputStream
{
private int[] key;
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
index bb2f233..3777f79 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/XOROutputStream.java
@@ -10,14 +10,13 @@
**************************************************************************/
package org.eclipse.net4j.util.io;
-import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* @author Eike Stepper
*/
-public class XOROutputStream extends FilterOutputStream
+public class XOROutputStream extends DelegatingOutputStream
{
private int[] key;