MateusJunior7 opened a new pull request, #1030:
URL: https://github.com/apache/maven-plugin-tools/pull/1030

   This PR fixes a SpotBugs warning (REC_CATCH_EXCEPTION) in
   DescriptorGeneratorMojo.generateIndex(), where a generic catch (Exception)
   block was used even though the code only throws IOException.
   
   The catch block was narrowed to IOException, improving clarity and preventing
   overly broad exception handling.
   
   After the change, the REC warning no longer appears in SpotBugs.


-- 
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]

Reply via email to