From 582d926fbf5f5fd4800def67f86ecfedee44681e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 5 Apr 2010 11:33:58 -0700 Subject: 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 --- crypto/src/main/java/javax/crypto/CipherInputStream.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto') 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; } } - -- cgit v1.1