mirror of
https://github.com/revanced/smali.git
synced 2025-05-05 00:54:25 +02:00
make opcodes nullable in loadDexContainer
This commit is contained in:
parent
5935fe6ef8
commit
72c0d9d89a
@ -230,7 +230,7 @@ public final class DexFileFactory {
|
|||||||
* @throws UnsupportedFileTypeException If the given file is not a valid dex/zip/odex/oat file
|
* @throws UnsupportedFileTypeException If the given file is not a valid dex/zip/odex/oat file
|
||||||
*/
|
*/
|
||||||
public static MultiDexContainer<? extends DexBackedDexFile> loadDexContainer(
|
public static MultiDexContainer<? extends DexBackedDexFile> loadDexContainer(
|
||||||
@Nonnull File file, @Nonnull final Opcodes opcodes) throws IOException {
|
@Nonnull File file, @Nullable final Opcodes opcodes) throws IOException {
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
throw new DexFileNotFoundException("%s does not exist", file.getName());
|
throw new DexFileNotFoundException("%s does not exist", file.getName());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user