matthiasblaesing commented on code in PR #8824:
URL: https://github.com/apache/netbeans/pull/8824#discussion_r2351788082
##########
enterprise/web.el/src/org/netbeans/modules/web/el/completion/ELRawObjectPropertyCompletionItem.java:
##########
@@ -51,12 +53,8 @@ public ElementKind getKind() {
}
@Override
- public String getLhsHtml(HtmlFormatter formatter) {
- ElementKind kind = getKind();
- formatter.name(kind, true);
- formatter.appendText(getName());
- formatter.name(kind, false);
- return formatter.getText();
+ public String getRhsHtml(HtmlFormatter formatter) {
+ return clazz;
Review Comment:
Please use `formatter.appendText` and then `formatter.getText`. At this time
only raw types are supported, but in the future generics might come in and they
might/will trip the HTML renderer, as the `<` will yield tag handling.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists