slachiewicz opened a new pull request, #189: URL: https://github.com/apache/maven-reporting-exec/pull/189
Simplify the model-to-exec `ReportPlugin` conversion in `MavenReportExecutorRequest`. Building a list removes the pre-sized array and manual index, and the redundant type witness in `ReportPlugin.getReports()` can be inferred. - Collect converted plugins in a `List<ReportPlugin>` and hand `toArray(new ReportPlugin[0])` to the existing setter - Replace `Collections.<String>emptyList()` with `Collections.emptyList()` Tracking: #14072 Verified: `JAVA_HOME=<Java 21> mvn -B -o verify` → BUILD SUCCESS; per-class surefire counts unchanged (`MavenReportExecutorRequestTest` 1, `TestDefaultMavenReportExecutor` 4; 0 failures/errors) -- 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]
