remove print stacktrace

use interface
This commit is contained in:
TobiGr 2021-02-20 00:23:32 +01:00
parent 02920fafa8
commit ea120a4637
2 changed files with 1 additions and 3 deletions

View File

@ -311,7 +311,7 @@ public class BandcampStreamExtractor extends StreamExtractor {
public List<String> getTags() {
final Elements tagElements = document.getElementsByAttributeValue("itemprop", "keywords");
final ArrayList<String> tags = new ArrayList<>();
final List<String> tags = new ArrayList<>();
for (final Element e : tagElements) {
tags.add(e.text());

View File

@ -47,8 +47,6 @@ public class BandcampSuggestionExtractor extends SuggestionExtractor {
return suggestions;
} catch (final JsonParserException e) {
e.printStackTrace();
return Collections.emptyList();
}