summaryrefslogtreecommitdiffstats
path: root/sql/src
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-04-05 11:33:58 -0700
committerElliott Hughes <enh@google.com>2010-04-05 15:55:36 -0700
commit582d926fbf5f5fd4800def67f86ecfedee44681e (patch)
tree4d5c2aceb19e55dbc3559fa41372243772631413 /sql/src
parentc985b01362bb964972c426317ab1e9852ab44753 (diff)
downloadlibcore-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 'sql/src')
-rw-r--r--sql/src/main/java/SQLite/Blob.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/src/main/java/SQLite/Blob.java b/sql/src/main/java/SQLite/Blob.java
index 3de9f8a..16fecf1 100644
--- a/sql/src/main/java/SQLite/Blob.java
+++ b/sql/src/main/java/SQLite/Blob.java
@@ -30,11 +30,7 @@ class BlobR extends InputStream {
this.pos = 0;
}
- /**
- * Return number of available bytes for reading.
- * @return available input bytes
- */
-
+ @Override
public int available() throws IOException {
int ret = blob.size - pos;
return (ret < 0) ? 0 : ret;