Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-rendering Commit: daea7e5d1ce2041a9a7cc816d92874231fb20038 https://github.com/xwiki/xwiki-rendering/commit/daea7e5d1ce2041a9a7cc816d928... Author: Vincent Massol <[email protected]> Date: 2026-08-25 (Tue, 25 Aug 2026) Changed paths: M pom.xml M xwiki-rendering-wikimodel/src/main/java/org/xwiki/rendering/wikimodel/PrintTextListener.java Log Message: ----------- XRENDERING-812: PrintTextListener duplicates the no-op listener callbacks of EmptyWemListener (#413) * Make PrintTextListener extend EmptyWemListener instead of implementing IWemListener directly, and drop the 34 no-op callbacks it no longer needs to declare, so that the empty implementations of the listener interface exist in one place only. * Keep beginDocument(WikiParameters) as an explicit no-op override: EmptyWemListener forwards it to the no-arg beginDocument(), which would otherwise start invoking a subclass override of it that was never called before. * Add justified Revapi ignores for the java.class.nonFinalClassInheritsFromNewClass difference the new supertype introduces on PrintTextListener, EventDumpListener, PrintInlineListener and PrintListener. Nothing is removed from the public API: the methods that stop being declared stay reachable through the superclass, and the only members the supertype adds are the no-arg beginDocument() and endDocument() no-ops. Co-authored-by: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-rendering/settings/notifications