From 009f41cc90844d339e1f73b54415fdcd2e1c0170 Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Tue, 18 Jul 2017 22:15:13 +0200 Subject: [PATCH] Remove unneeded throws declaration --- src/org/lineageos/updater/misc/Utils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 2c5efecb..55cb58de 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -182,11 +182,9 @@ public class Utils { * @param zipFile input zip file * @param entryPath full path of the entry * @return the offset of the compressed, or -1 if not found - * @throws IOException * @throws IllegalArgumentException if the given entry is not found */ - public static long getZipEntryOffset(ZipFile zipFile, String entryPath) - throws IOException { + public static long getZipEntryOffset(ZipFile zipFile, String entryPath) { // Each entry has an header of (30 + n + m) bytes // 'n' is the length of the file name // 'm' is the length of the extra field