This commit is contained in:
filoghost 2021-08-02 23:09:07 +02:00
parent 8b12e3e2c5
commit 47c98100ff
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ public class PlaceholderTracker {
}
}
public boolean containsIndividualPlaceholders(StringWithPlaceholders nameWithPlaceholders) {
return nameWithPlaceholders.anyMatch(occurrence -> {
public boolean containsIndividualPlaceholders(StringWithPlaceholders textWithPlaceholders) {
return textWithPlaceholders.anyMatch(occurrence -> {
PlaceholderExpansion placeholderExpansion = registry.find(occurrence);
return placeholderExpansion != null && placeholderExpansion.isIndividual();
});