Skip to content

Commit b9d5a4d

Browse files
mareklangiewiczakarnokd
authored andcommitted
Mark VolatileSizeArrayList as RandomAccess list (#5324)
1 parent 3c0e824 commit b9d5a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/internal/util/VolatileSizeArrayList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @param <T> the element type
2323
* @since 2.0.7
2424
*/
25-
public final class VolatileSizeArrayList<T> extends AtomicInteger implements List<T> {
25+
public final class VolatileSizeArrayList<T> extends AtomicInteger implements List<T>, RandomAccess {
2626

2727
private static final long serialVersionUID = 3972397474470203923L;
2828

0 commit comments

Comments
 (0)