mirror of
https://github.com/revanced/smali.git
synced 2025-05-30 12:40:11 +02:00
Fix AnnotationDirectoryPool comparisons
This commit is contained in:
parent
db5d398850
commit
e29142d406
@ -266,7 +266,7 @@ public class AnnotationDirectoryPool {
|
|||||||
public int compareTo(Key o) {
|
public int compareTo(Key o) {
|
||||||
// compareTo will only be called on keys of the same internability. An internable key will not be compared
|
// compareTo will only be called on keys of the same internability. An internable key will not be compared
|
||||||
// with a non-internable one.
|
// with a non-internable one.
|
||||||
if (hasClassAnnotations()) {
|
if (hasNonClassAnnotations()) {
|
||||||
return classDef.getType().compareTo(o.classDef.getType());
|
return classDef.getType().compareTo(o.classDef.getType());
|
||||||
}
|
}
|
||||||
return CollectionUtils.compareAsSet(classDef.getAnnotations(), o.classDef.getAnnotations());
|
return CollectionUtils.compareAsSet(classDef.getAnnotations(), o.classDef.getAnnotations());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user