mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 10:05:54 +01:00
code style changes
This commit is contained in:
parent
66c1b46865
commit
488b9d58dd
@ -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) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user