elharo commented on code in PR #747:
URL: https://github.com/apache/maven-pmd-plugin/pull/747#discussion_r4241326614


##########
src/main/java/org/apache/maven/plugins/pmd/exec/PmdExecutor.java:
##########
@@ -270,7 +272,11 @@ private String 
getErrorsAsString(List<Report.ProcessingError> errors, boolean wi
         return String.join(System.lineSeparator(), errorsAsString);
     }
 
-    private void writeBenchmarkReport(TimingReport timingReport, String 
benchmarkOutputLocation, String encoding) {
+    void writeBenchmarkReport(TimingReport timingReport, String 
benchmarkOutputLocation, String encoding) {
+        if (timingReport == null) {
+            LOG.warn("Skipping benchmark report because no timing report was 
produced.");

Review Comment:
   This is not worthy of a warning, debug at most



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