From c44541e7415c6431ec60d0139b250a53a17d7e78 Mon Sep 17 00:00:00 2001 From: Markus Schorn Date: Fri, 28 Apr 2006 11:19:04 +0000 Subject: [PATCH] Removed unnecessary call to available() --- .../utils/org/eclipse/cdt/utils/spawner/SpawnerInputStream.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/SpawnerInputStream.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/SpawnerInputStream.java index f19a4c52995..4b5bc37e25e 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/SpawnerInputStream.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/spawner/SpawnerInputStream.java @@ -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 (