mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-14 06:10: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
|
||||
ArrayList<String> list = new ArrayList<>(Arrays.asList(strings));
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user