Lines 498-505
Link Here
|
498 |
|
498 |
|
499 |
InputStream stream = null; |
499 |
InputStream stream = null; |
500 |
try { |
500 |
try { |
501 |
stream = zip.getInputStream(ze); |
501 |
InputStream inputStream = zip.getInputStream(ze); |
502 |
if (stream == null) throw new IOException("Invalid zip entry name : " + ze.getName()); //$NON-NLS-1$ |
502 |
if (inputStream == null) throw new IOException("Invalid zip entry name : " + ze.getName()); //$NON-NLS-1$ |
|
|
503 |
stream = new BufferedInputStream(inputStream); |
503 |
return getInputStreamAsByteArray(stream, (int) ze.getSize()); |
504 |
return getInputStreamAsByteArray(stream, (int) ze.getSize()); |
504 |
} finally { |
505 |
} finally { |
505 |
if (stream != null) { |
506 |
if (stream != null) { |