trim whitespaces before putting strings

This commit is contained in:
Adrian Ulrich 2017-03-04 18:08:38 +01:00
parent a7aacfd955
commit 710398822d

View File

@ -415,7 +415,7 @@ public class MediaMetadataExtractor extends HashMap<String, ArrayList<String>> {
for (String s : data) {
Matcher matcher = filter.matcher(s);
if (matcher.matches()) {
list.add(matcher.group(1));
list.add(matcher.group(1).trim());
}
}
if (list.size() > 0)