diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryDeltaInputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryDeltaInputStream.java index 7f0d87f0d..9eceeb811 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryDeltaInputStream.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryDeltaInputStream.java @@ -82,6 +82,11 @@ public int read() throws IOException { return b; } + @Override + public int read(byte[] b, int off, int len) throws IOException { + return super.read(b, off, len); + } + private void initialize() throws IOException { long baseSize = readVarInt(delta); if (baseSize > Integer.MAX_VALUE || baseSize < 0 diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryHunkInputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryHunkInputStream.java index 57b2d7a4b..4f940d77a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryHunkInputStream.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/BinaryHunkInputStream.java @@ -58,6 +58,11 @@ public int read() throws IOException { return -1; } + @Override + public int read(byte[] b, int off, int len) throws IOException { + return super.read(b, off, len); + } + @Override public void close() throws IOException { in.close();