diff options
author | Elliott Hughes <enh@google.com> | 2010-04-05 11:33:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-04-05 15:55:36 -0700 |
commit | 582d926fbf5f5fd4800def67f86ecfedee44681e (patch) | |
tree | 4d5c2aceb19e55dbc3559fa41372243772631413 /crypto | |
parent | c985b01362bb964972c426317ab1e9852ab44753 (diff) | |
download | libcore-582d926fbf5f5fd4800def67f86ecfedee44681e.zip libcore-582d926fbf5f5fd4800def67f86ecfedee44681e.tar.gz libcore-582d926fbf5f5fd4800def67f86ecfedee44681e.tar.bz2 |
Froyo InputStream.available documentation improvement.
This method causes a lot of confusion, and we can do a lot better. (Ideally,
the API would either not exist or be something like "public boolean ready()".)
I've removed poor-quality documentation overrides too, so the full
documentation is visible in most places. (InflaterInputStream is an obvious
exception.)
Also, to a lesser extent, improve the InputStream.skip documentation.
Change-Id: I6d6cd788e6a32ad4a2613d1e381610f1ad8575fe
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/main/java/javax/crypto/CipherInputStream.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/src/main/java/javax/crypto/CipherInputStream.java b/crypto/src/main/java/javax/crypto/CipherInputStream.java index b2c626d..fb1ef27 100644 --- a/crypto/src/main/java/javax/crypto/CipherInputStream.java +++ b/crypto/src/main/java/javax/crypto/CipherInputStream.java @@ -185,13 +185,6 @@ public class CipherInputStream extends FilterInputStream { return i; } - /** - * Returns the number of bytes available without blocking. - * - * @return the number of bytes available, currently zero. - * @throws IOException - * if an error occurs - */ @Override public int available() throws IOException { return 0; @@ -227,4 +220,3 @@ public class CipherInputStream extends FilterInputStream { return false; } } - |