[xwiki/xwiki-platform] c8d79c: XWIKI-24665: Apply the logging best practices acro...
Branch: refs/heads/XWIKI-24665-store-constructors Home: https://github.com/xwiki/xwiki-platform Commit: c8d79cd5af62c3b8281e5fa90107c738ad39d2c2 https://github.com/xwiki/xwiki-platform/commit/c8d79cd5af62c3b8281e5fa90107c... 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 * 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 To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications