Mercurial > hg4j
diff src/org/tmatesoft/hg/internal/InflaterDataAccess.java @ 441:2a08466838d3
Don't use methods not available in Java 5
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 26 Apr 2012 12:42:32 +0200 |
parents | 9c9c442b5f2e |
children | 8bf184c9d733 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/InflaterDataAccess.java Thu Apr 19 19:18:25 2012 +0200 +++ b/src/org/tmatesoft/hg/internal/InflaterDataAccess.java Thu Apr 26 12:42:32 2012 +0200 @@ -96,7 +96,7 @@ c += inflater.inflate(dummy, 0, dummy.length); } } catch (DataFormatException ex) { - throw new IOException(ex); + throw new IOException(ex.toString()); } } decompressedLength = c + oldPos;