mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 16:44: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
|
||||
*/
|
||||
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()) {
|
||||
throw new DexFileNotFoundException("%s does not exist", file.getName());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user