Update IoUtils.java (#8948)
An IOException has been catch,so throws IOException Is invalid
This commit is contained in:
parent
8cede1cf84
commit
474b25dff5
@ -52,9 +52,8 @@ public class IoUtils {
|
||||
*
|
||||
* @param raw compress stream
|
||||
* @return byte array after decompress
|
||||
* @throws IOException exception
|
||||
*/
|
||||
public static byte[] tryDecompress(InputStream raw) throws IOException {
|
||||
public static byte[] tryDecompress(InputStream raw) {
|
||||
GZIPInputStream gis = null;
|
||||
ByteArrayOutputStream out = null;
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user