File tree Expand file tree Collapse file tree
extractor/src/main/java/org/schabi/newpipe/extractor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import org .schabi .newpipe .extractor .InfoItemsCollector ;
55import org .schabi .newpipe .extractor .exceptions .ParsingException ;
66
7+ import java .util .ArrayList ;
78import java .util .List ;
89import java .util .Vector ;
910
@@ -95,7 +96,7 @@ public void commit(CommentsInfoItemExtractor extractor) {
9596 }
9697
9798 public List <CommentsInfoItem > getCommentsInfoItemList () {
98- List <CommentsInfoItem > siiList = new Vector <>();
99+ List <CommentsInfoItem > siiList = new ArrayList <>();
99100 for (InfoItem ii : super .getItems ()) {
100101 if (ii instanceof CommentsInfoItem ) {
101102 siiList .add ((CommentsInfoItem ) ii );
Original file line number Diff line number Diff line change 55import org .schabi .newpipe .extractor .exceptions .FoundAdException ;
66import org .schabi .newpipe .extractor .exceptions .ParsingException ;
77
8+ import java .util .ArrayList ;
89import java .util .Comparator ;
910import java .util .List ;
1011import java .util .Vector ;
@@ -111,7 +112,7 @@ public void commit(StreamInfoItemExtractor extractor) {
111112 }
112113
113114 public List <StreamInfoItem > getStreamInfoItemList () {
114- List <StreamInfoItem > siiList = new Vector <>();
115+ List <StreamInfoItem > siiList = new ArrayList <>();
115116 for (InfoItem ii : super .getItems ()) {
116117 if (ii instanceof StreamInfoItem ) {
117118 siiList .add ((StreamInfoItem ) ii );
You can’t perform that action at this time.
0 commit comments