mirror of
https://github.com/revanced/smali.git
synced 2025-05-02 23:54:38 +02:00
Fix AnnotationSetRefPool.getOffset
This commit is contained in:
parent
db81d89c2a
commit
3360e18c53
@ -69,7 +69,7 @@ public class AnnotationSetRefPool {
|
||||
|
||||
public int getOffset(@Nonnull Method method) {
|
||||
Key annotationSetRefKey = new Key(method);
|
||||
Integer offset = internedAnnotationSetRefItems.put(annotationSetRefKey, 0);
|
||||
Integer offset = internedAnnotationSetRefItems.get(annotationSetRefKey);
|
||||
if (offset == null) {
|
||||
throw new ExceptionWithContext("Annotation set ref not found.");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user