fix for 20686

one character fix.
changed return value from -1 to 0


git-svn-id: svn://10.0.0.236/trunk@55905 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
1999-12-11 09:08:40 +00:00
parent b1a59b34b6
commit 29ac9e98a4

View File

@@ -41,7 +41,7 @@ public class PlugletInputStream extends InputStream {
((off + len) > b.length) || ((off + len) < 0)) {
throw new IndexOutOfBoundsException();
} else if (len == 0) {
return -1;
return 0;
}
return nativeRead(b,off,len);
}