commit | 963f0892df150b81ed7b3afa0080fa9c36993e29 | [log] [tgz] |
---|---|---|
author | Ian Zerny <zerny@google.com> | Fri May 17 13:43:56 2024 +0200 |
committer | Ian Zerny <zerny@google.com> | Fri May 17 11:58:32 2024 +0000 |
tree | 43e398a1c8ffaa6aa2f71ac88f4c251a11602481 | |
parent | d6d105e88380598c8ff89d681f022ab8c9e434c8 [diff] |
Fix isEqualTo in KeepAnnotationCollectionInfo.Builder Change-Id: I378a054e75484af3d122d56cff167265d0dd3498
diff --git a/src/main/java/com/android/tools/r8/shaking/KeepAnnotationCollectionInfo.java b/src/main/java/com/android/tools/r8/shaking/KeepAnnotationCollectionInfo.java index 144351c..cd7bf16 100644 --- a/src/main/java/com/android/tools/r8/shaking/KeepAnnotationCollectionInfo.java +++ b/src/main/java/com/android/tools/r8/shaking/KeepAnnotationCollectionInfo.java
@@ -397,11 +397,11 @@ } public boolean isEqualTo(KeepAnnotationCollectionInfo other) { - if (isBottom()) { - return other.isBottom(); + if (other.isBottom()) { + return isBottom(); } - if (isTop()) { - return other.isTop(); + if (other.isTop()) { + return isTop(); } IntermediateKeepAnnotationCollectionInfo intermediate = other.asIntermediate(); return anyTypeInfo.equals(intermediate.anyTypeInfo)