remove warnings

This commit is contained in:
Athou
2022-01-02 21:31:05 +01:00
parent 4021389a4d
commit b132178228
3 changed files with 9 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ public class FacebookFaviconFetcher extends AbstractFaviconFetcher {
log.debug("could not parse url", e);
return null;
}
List<NameValuePair> params = URLEncodedUtils.parse(uri, StandardCharsets.UTF_8.name());
List<NameValuePair> params = URLEncodedUtils.parse(uri, StandardCharsets.UTF_8);
for (NameValuePair param : params) {
if ("id".equals(param.getName())) {
return param.getValue();