MateusJunior7 opened a new pull request, #1028: URL: https://github.com/apache/maven-plugin-tools/pull/1028
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). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
