aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Derr <derr@svv.lu>2018-12-23 09:48:51 +0100
committerBen Gruver <jesusfreke@jesusfreke.com>2019-01-23 00:17:12 -0800
commit72c0d9d89a1aadfbfee2b17cc1f591cdd295aeb2 (patch)
tree1ecbb5a08df0f2a750ea52ab1bb7a5721d96fc83
parent5935fe6ef8dee15567ec07ed9175003dac868809 (diff)
downloadsmali-72c0d9d89a1aadfbfee2b17cc1f591cdd295aeb2.tar.gz
make opcodes nullable in loadDexContainer
-rw-r--r--dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java b/dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java
index eb33315f..2775d18d 100644
--- a/dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java
+++ b/dexlib2/src/main/java/org/jf/dexlib2/DexFileFactory.java
@@ -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());
}