merge later ../extractor/src/main/java/org/schabi/newpipe/extractor/search/filter/FilterGroup.java

This commit is contained in:
evermind 2022-11-13 20:59:24 +01:00 committed by Stypox
parent 8409215ce2
commit 3956e22c8e
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 4 additions and 3 deletions

View File

@ -136,10 +136,11 @@ public final class FilterGroup {
}
if (filterItems.containsKey(item.getIdentifier())) {
final FilterItem storedItem = filterItems.get(item.getIdentifier());
throw new InvalidFilterIdException("Filter ID "
+ item.getIdentifier() + " for \"" + item.getName()
+ "\" already taken from \"" + storedItem.getName() + "\"");
+ item.getIdentifier() + " for \""
+ item.getClass().getCanonicalName()
+ "\" is used multiple times."
+ " Filter ID's have to be unique per service");
}
}