[xwiki/xwiki-platform] cfb14e: [Misc] Fix a SonarCloud false positive about a nul...
Branch: refs/heads/misc-sonar-s2259-repository-version-document Home: https://github.com/xwiki/xwiki-platform Commit: cfb14e62cfefa8f20b059ba6ed83e40d165c3f23 https://github.com/xwiki/xwiki-platform/commit/cfb14e62cfefa8f20b059ba6ed83e... Author: Thomas Mortagne <[email protected]> Date: 2026-09-22 (Tue, 22 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/ExtensionStore.java Log Message: ----------- [Misc] Fix a SonarCloud false positive about a null version document * make explicit that the main document passed to `ExtensionStore#getExtensionVersionDocument` and `ExtensionStore#getProjectVersionDocument` is mandatory, so that the dataflow analysis stops assuming that the returned version document can be null (5 `javabugs:S2259` false positives in `RepositoryManager`) 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-platform/settings/notifications
participants (1)
-
XWiki Notifications