mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 19:16:09 +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) {
|
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) {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user