Skip to content

Conversation

@MateusJunior7
Copy link

This PR fixes a UWF_NULL_FIELD warning reported by SpotBugs in org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.

The field mojoDependencies was declared but never initialized, which left it in a null state.
It is now initialized as an empty ArrayList, removing the null-only assignment and improving robustness.

After this change, the UWF_NULL_FIELD warning is no longer reported for this class
(maven-plugin-plugin module builds successfully and SpotBugs reports are clean for this issue).

@MateusJunior7 MateusJunior7 force-pushed the fix-uwf-mojoDependencies branch from b57f17e to 4e82276 Compare November 16, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant