code style changes

This commit is contained in:
Connor Tumbleson 2017-05-02 08:16:07 -04:00
parent 66c1b46865
commit 488b9d58dd
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
2 changed files with 5 additions and 9 deletions

View File

@ -60,12 +60,10 @@ public class ApkDecoder {
} }
public void setApkFile(File apkFile) { public void setApkFile(File apkFile) {
if (mApkFile != null) if (mApkFile != null) {
{
try { try {
mApkFile.close(); mApkFile.close();
} catch (IOException e) { } catch (IOException ignored) {}
}
} }
mApkFile = new ExtFile(apkFile); mApkFile = new ExtFile(apkFile);
@ -172,8 +170,7 @@ public class ApkDecoder {
} finally { } finally {
try { try {
mApkFile.close(); mApkFile.close();
} catch (IOException e) { } catch (IOException ignored) {}
}
} }
} }

View File

@ -563,8 +563,7 @@ final public class AndrolibResources {
} finally { } finally {
try { try {
bfi.close(); bfi.close();
} catch (IOException e) { } catch (IOException ignored) {}
}
} }
} catch (DirectoryException ex) { } catch (DirectoryException ex) {
throw new AndrolibException("Could not load resources.arsc from file: " + apkFile, ex); throw new AndrolibException("Could not load resources.arsc from file: " + apkFile, ex);