mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 20:27:36 +02:00
Fix AnnotationSetRefPool.getOffset
This commit is contained in:
@ -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.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user