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) {
if (mApkFile != null)
{
if (mApkFile != null) {
try {
mApkFile.close();
} catch (IOException e) {
}
} catch (IOException ignored) {}
}
mApkFile = new ExtFile(apkFile);
@ -172,8 +170,7 @@ public class ApkDecoder {
} finally {
try {
mApkFile.close();
} catch (IOException e) {
}
} catch (IOException ignored) {}
}
}

View File

@ -563,8 +563,7 @@ final public class AndrolibResources {
} finally {
try {
bfi.close();
} catch (IOException e) {
}
} catch (IOException ignored) {}
}
} catch (DirectoryException ex) {
throw new AndrolibException("Could not load resources.arsc from file: " + apkFile, ex);
@ -572,7 +571,7 @@ final public class AndrolibResources {
}
public File getFrameworkApk(int id, String frameTag)
throws AndrolibException {
throws AndrolibException {
File dir = getFrameworkDir();
File apk;