mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-05-04 16:44:38 +02:00
Move unused getNewestOpcodes variant
This commit is contained in:
parent
903e3ed9fb
commit
66765f2be1
@ -43,15 +43,6 @@ public abstract class AbstractMultiDexContainer<T extends DexFile> implements Mu
|
|||||||
return entryMap.get(entryName);
|
return entryMap.get(entryName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
public Opcodes getNewestOpcodes() {
|
|
||||||
Opcodes opcodes = null;
|
|
||||||
for (String entryName : getDexEntryNames()) {
|
|
||||||
opcodes = OpcodeUtils.getNewestOpcodes(opcodes, getEntry(entryName).getOpcodes(), true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
protected DuplicateEntryNameException throwDuplicateEntryName(String entryName) {
|
protected DuplicateEntryNameException throwDuplicateEntryName(String entryName) {
|
||||||
throw new DuplicateEntryNameException(entryName);
|
throw new DuplicateEntryNameException(entryName);
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,16 @@ public class OpcodeUtils {
|
|||||||
return o1.api >= o2.api ? o1 : o2;
|
return o1.api >= o2.api ? o1 : o2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
public static <T extends DexFile> Opcodes getNewestOpcodes(MultiDexContainer<T> container) throws IOException {
|
||||||
|
Opcodes opcodes = null;
|
||||||
|
for (String entryName : container.getDexEntryNames()) {
|
||||||
|
opcodes = OpcodeUtils.getNewestOpcodes(opcodes, container.getEntry(entryName).getOpcodes(), true);
|
||||||
|
}
|
||||||
|
return opcodes;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
private static IllegalArgumentException undefinedApiLevel() {
|
private static IllegalArgumentException undefinedApiLevel() {
|
||||||
return new IllegalArgumentException("Opcodes instance has undefined api level");
|
return new IllegalArgumentException("Opcodes instance has undefined api level");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user