mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-14 22:30:33 +05:30
Fix for testing wrong object for null or empty
This commit is contained in:
parent
e6ecd91929
commit
0950a95577
@ -88,7 +88,7 @@ public class BandcampExtractorHelper {
|
|||||||
// Remove empty strings
|
// Remove empty strings
|
||||||
ArrayList<String> list = new ArrayList<>(Arrays.asList(strings));
|
ArrayList<String> list = new ArrayList<>(Arrays.asList(strings));
|
||||||
for (int i = list.size() - 1; i >= 0; i--) {
|
for (int i = list.size() - 1; i >= 0; i--) {
|
||||||
if (Utils.isNullOrEmpty(list) || list.get(i).equals("null")) {
|
if (Utils.isNullOrEmpty(list.get(i)) || list.get(i).equals("null")) {
|
||||||
list.remove(i);
|
list.remove(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user