1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Removed unnecessary call to available()

This commit is contained in:
Markus Schorn 2006-04-28 11:19:04 +00:00
parent 4cc10e41b6
commit c44541e741

View file

@ -43,7 +43,6 @@ class SpawnerInputStream extends InputStream {
* @see InputStream#read(byte[], int, int)
*/
public int read(byte[] buf, int off, int len) throws IOException {
available();
if (buf == null) {
throw new NullPointerException();
} else if (