Update TagHelper.java
This commit is contained in:
parent
75d3347a45
commit
1efcae58d3
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ public class TagHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Tag.Builder apply(String entry, Set<Identifier> ids, Tag.Builder builder) {
|
public static Tag.Builder apply( Tag.Builder builder, Set<Identifier> ids) {
|
||||||
ids.forEach((value) -> {
|
ids.forEach((value) -> {
|
||||||
builder.add(value, "Better End Code");
|
builder.add(value, "Better End Code");
|
||||||
});
|
});
|
||||||
|
@ -78,9 +78,9 @@ public class TagHelper {
|
||||||
if (endTags != null) {
|
if (endTags != null) {
|
||||||
endTags.forEach((id, ids) -> {
|
endTags.forEach((id, ids) -> {
|
||||||
if (tagsMap.containsKey(id)) {
|
if (tagsMap.containsKey(id)) {
|
||||||
apply(entry, ids, tagsMap.get(id));
|
apply(tagsMap.get(id), ids);
|
||||||
} else {
|
} else {
|
||||||
tagsMap.put(id, apply(entry, ids, Tag.Builder.create()));
|
tagsMap.put(id, apply(Tag.Builder.create(), ids));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue