[xwiki/xwiki-platform] 37f5d9: XWIKI-24665: Apply the logging best practices acro...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 37f5d9353b65c43e2731ac67d489caaa1883f82c https://github.com/xwiki/xwiki-platform/commit/37f5d9353b65c43e2731ac67d489c... Author: Vincent Massol <[email protected]> Date: 2026-08-07 (Fri, 07 Aug 2026) Changed paths: A xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/main/aspect/com/xpn/xwiki/store/StoreConstructorsCompatibilityAspect.aj A xwiki-platform-core/xwiki-platform-legacy/xwiki-platform-legacy-oldcore/src/test/java/com/xpn/xwiki/store/StoreConstructorsCompatibilityTest.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/VoidAttachmentVersioningStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateAttachmentStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateBaseStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateRecycleBinStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateVersioningStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/HibernateAttachmentRecycleBinStore.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/HibernateAttachmentVersioningStore.java Log Message: ----------- XWIKI-24665: Apply the logging best practices across commons, rendering and platform (#6110) * XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Move the 15 deprecated public constructors of the *Store classes out of xwiki-platform-oldcore and re-add them from xwiki-platform-legacy-oldcore, so the main artifact no longer offers a construction path that cannot produce a working store * Rewrite their javadoc to state that the instance they return is not usable, because these classes obtain all their collaborators through component injection and a directly built instance leaves every one of them null * Add a test asserting that each re-added constructor still initializes the Hibernate configuration path the way it used to * XWIKI-24665: Apply the logging best practices across commons, rendering and platform * Update the @deprecated javadoc of the moved store constructors to name the actual replacement: the ComponentManager.lookup(...) API they pointed to no longer exists, and one of them named a role without its hint To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications