79739014

Date: 2025-08-18 16:30:04
Score: 2
Natty:
Report link

I soved this by turning

@XmlAttribute(name = "commentable", required = true)
    private AbstractCommentable commentable;

into an Element annotation. Thanks for the hint in the comments about the ElementWrapper, that guided my attention to the fact, that this was still annotated as attribute.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: TheOneAndOnlyMe