From 58fa3f477f11e7defd31635bfdaba67c1649fcf9 Mon Sep 17 00:00:00 2001 From: Lanchon Date: Sun, 19 Jan 2020 15:54:58 -0300 Subject: [PATCH] Remove redundant throws clause --- src/main/java/lanchon/multidexlib2/RawDexIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/lanchon/multidexlib2/RawDexIO.java b/src/main/java/lanchon/multidexlib2/RawDexIO.java index a6b2c25..5daa470 100644 --- a/src/main/java/lanchon/multidexlib2/RawDexIO.java +++ b/src/main/java/lanchon/multidexlib2/RawDexIO.java @@ -55,7 +55,7 @@ public class RawDexIO { return readRawDexFile(buf, 0, opcodes); } - public static DexBackedDexFile readRawDexFile(byte[] buf, int offset, Opcodes opcodes) throws IOException { + public static DexBackedDexFile readRawDexFile(byte[] buf, int offset, Opcodes opcodes) { // This method now relies on the automatic dex version handling implemented in dexlib2 since version 2.2.4. DexUtil.verifyDexHeader(buf, offset); return new DexBackedDexFile(opcodes, buf, offset);