Skip to content

Commit

Permalink
Add a comment to the else path to describe why it saves the attribute…
Browse files Browse the repository at this point in the history
… in the else path and not outside.

Fixes: SE-13618
  • Loading branch information
oolscireum committed Oct 1, 2024
1 parent d01ce41 commit 8bd53b4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,8 @@ private void parseAttributes(TagHandler handler) {
if (attributeType == null) {
attributeType = String.class;
} else {
// verifyAttributeNameAndType(...) already reports an error if the attributeType is unknown.
// We only save the found and defined attributes.
attributes.add(name);
}

Expand Down

0 comments on commit 8bd53b4

Please sign in to comment.