From 7d67d09b1a62b51ce6517abdf72bd8a613873ddd Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Wed, 26 Sep 2007 09:53:30 -0600 Subject: [PATCH] Added inflate method and stub method for reset() --- classpath/java/util/zip/Inflater.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/classpath/java/util/zip/Inflater.java b/classpath/java/util/zip/Inflater.java index cb21dda892..4969f79637 100644 --- a/classpath/java/util/zip/Inflater.java +++ b/classpath/java/util/zip/Inflater.java @@ -54,6 +54,15 @@ public class Inflater { this.length = length; } + public void reset() { + // TODO + throw new UnsupportedOperationException(); + } + + public int inflate(byte[] output) throws DataFormatException { + return inflate(output, 0, output.length); + } + public int inflate(byte[] output, int offset, int length) throws DataFormatException {