style: code cleanup

This commit is contained in:
CappielloAntonio 2024-03-23 22:40:37 +01:00
parent a88658ac8f
commit 374dbb58bb
8 changed files with 9 additions and 9 deletions

View file

@ -222,7 +222,7 @@ public class MusicUtil {
public static List<String> getReadableStrings(List<String> strings) {
List<String> readableStrings = new ArrayList<>();
if (strings.size() > 0) {
if (!strings.isEmpty()) {
for (String string : strings) {
if (string != null) {
readableStrings.add(Html.fromHtml(string, Html.FROM_HTML_MODE_COMPACT).toString());