Skip to content

Commit d171dec

Browse files
committed
Accept test changes
All of java.util.{Collection,List,Map} redeclare `boolean equals(Object)` in order to add documentation, as a side-effect creating a real symbol that can be used as a dispatch target.
1 parent c6f4742 commit d171dec

File tree

1 file changed

+8
-0
lines changed
  • java/ql/test/kotlin/library-tests/java-kotlin-collection-type-generic-methods

1 file changed

+8
-0
lines changed

java/ql/test/kotlin/library-tests/java-kotlin-collection-type-generic-methods/test.expected

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ methodWithDuplicate
110110
| Collection<E> | addAll | Collection<? extends E> |
111111
| Collection<E> | contains | Object |
112112
| Collection<E> | containsAll | Collection<?> |
113+
| Collection<E> | equals | Object |
113114
| Collection<E> | remove | Object |
114115
| Collection<E> | removeAll | Collection<?> |
115116
| Collection<E> | removeIf | Predicate<? super E> |
@@ -120,6 +121,7 @@ methodWithDuplicate
120121
| Collection<Entry<K,V>> | addAll | Collection<? extends Entry<K,V>> |
121122
| Collection<Entry<K,V>> | contains | Object |
122123
| Collection<Entry<K,V>> | containsAll | Collection<?> |
124+
| Collection<Entry<K,V>> | equals | Object |
123125
| Collection<Entry<K,V>> | remove | Object |
124126
| Collection<Entry<K,V>> | removeAll | Collection<?> |
125127
| Collection<Entry<K,V>> | removeIf | Predicate<? super Entry<K,V>> |
@@ -130,6 +132,7 @@ methodWithDuplicate
130132
| Collection<K> | addAll | Collection<? extends K> |
131133
| Collection<K> | contains | Object |
132134
| Collection<K> | containsAll | Collection<?> |
135+
| Collection<K> | equals | Object |
133136
| Collection<K> | remove | Object |
134137
| Collection<K> | removeAll | Collection<?> |
135138
| Collection<K> | removeIf | Predicate<? super K> |
@@ -151,6 +154,7 @@ methodWithDuplicate
151154
| Collection<V> | addAll | Collection<? extends V> |
152155
| Collection<V> | contains | Object |
153156
| Collection<V> | containsAll | Collection<?> |
157+
| Collection<V> | equals | Object |
154158
| Collection<V> | remove | Object |
155159
| Collection<V> | removeAll | Collection<?> |
156160
| Collection<V> | removeIf | Predicate<? super V> |
@@ -188,6 +192,7 @@ methodWithDuplicate
188192
| List<E> | contains | Object |
189193
| List<E> | containsAll | Collection<?> |
190194
| List<E> | copyOf | Collection<? extends E> |
195+
| List<E> | equals | Object |
191196
| List<E> | get | int |
192197
| List<E> | indexOf | Object |
193198
| List<E> | lastIndexOf | Object |
@@ -270,6 +275,7 @@ methodWithDuplicate
270275
| Map<Identity,Entry<?>> | copyOf | Map<? extends K,? extends V> |
271276
| Map<Identity,Entry<?>> | entry | K |
272277
| Map<Identity,Entry<?>> | entry | V |
278+
| Map<Identity,Entry<?>> | equals | Object |
273279
| Map<Identity,Entry<?>> | forEach | BiConsumer<? super Identity,? super Entry<?>> |
274280
| Map<Identity,Entry<?>> | get | Object |
275281
| Map<Identity,Entry<?>> | getOrDefault | Entry<?> |
@@ -300,6 +306,7 @@ methodWithDuplicate
300306
| Map<K,V> | copyOf | Map<? extends K,? extends V> |
301307
| Map<K,V> | entry | K |
302308
| Map<K,V> | entry | V |
309+
| Map<K,V> | equals | Object |
303310
| Map<K,V> | forEach | BiConsumer<? super K,? super V> |
304311
| Map<K,V> | get | Object |
305312
| Map<K,V> | getOrDefault | Object |
@@ -330,6 +337,7 @@ methodWithDuplicate
330337
| Map<Object,Object> | copyOf | Map<? extends K,? extends V> |
331338
| Map<Object,Object> | entry | K |
332339
| Map<Object,Object> | entry | V |
340+
| Map<Object,Object> | equals | Object |
333341
| Map<Object,Object> | forEach | BiConsumer<? super Object,? super Object> |
334342
| Map<Object,Object> | get | Object |
335343
| Map<Object,Object> | getOrDefault | Object |

0 commit comments

Comments
 (0)