Permalink
Browse files

make opcodes nullable in loadDexContainer

  • Loading branch information...
Erik Derr authored and JesusFreke committed Dec 23, 2018
1 parent 5935fe6 commit 72c0d9d89a1aadfbfee2b17cc1f591cdd295aeb2
Showing with 1 addition and 1 deletion.
  1. +1 −1 dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java
@@ -230,7 +230,7 @@ public static DexBackedDexFile loadDexEntry(@Nonnull File file, @Nonnull String
* @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());
}

0 comments on commit 72c0d9d

Please sign in to comment.