-
Enhancement
-
Resolution: Fixed
-
P3
-
13
-
b12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8331141 | 11.0.24 | Amos SHI | P3 | Resolved | Fixed | b01 |
An HtmlTree contains a map for attributes and a list of content.
The current naming uses "addAttr" to put an attribute into the map, and "addContent" to add to the list of content.
It would make sense to the method names to "put" for attributes and just "add" for content. This would also make client code more concise, especially when using a fluent coding style.
The current naming uses "addAttr" to put an attribute into the map, and "addContent" to add to the list of content.
It would make sense to the method names to "put" for attributes and just "add" for content. This would also make client code more concise, especially when using a fluent coding style.
- backported by
-
JDK-8331141 Simplify/standardize method naming for HtmlTree
- Resolved