mirror of
https://github.com/revanced/smali.git
synced 2025-05-01 23:24:38 +02:00
Fix typo in method index OOB error message
This commit is contained in:
parent
dc802b0660
commit
d3ba85b2ee
@ -184,7 +184,7 @@ public class DexBackedDexFile extends BaseDexBuffer implements DexFile {
|
||||
|
||||
public int getMethodIdItemOffset(int methodIndex) {
|
||||
if (methodIndex < 0 || methodIndex >= methodCount) {
|
||||
throw new InvalidItemIndex(methodIndex, "Method findex out of bounds: %d", methodIndex);
|
||||
throw new InvalidItemIndex(methodIndex, "Method index out of bounds: %d", methodIndex);
|
||||
}
|
||||
return methodStartOffset + methodIndex*MethodIdItem.ITEM_SIZE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user