jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: No need to call toString on argument to message format
Date Sun, 09 Aug 2020 14:58:00 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 2238e7c  No need to call toString on argument to message format
2238e7c is described below

commit 2238e7c2c766ad9498403108ea7c00dd048fdcf8
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Sun Aug 9 16:57:42 2020 +0200

    No need to call toString on argument to message format
---
 .../src/main/java/org/apache/jmeter/gui/action/HtmlReportGenerator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/gui/action/HtmlReportGenerator.java
b/src/core/src/main/java/org/apache/jmeter/gui/action/HtmlReportGenerator.java
index 6e8ef64..2b3b5af 100644
--- a/src/core/src/main/java/org/apache/jmeter/gui/action/HtmlReportGenerator.java
+++ b/src/core/src/main/java/org/apache/jmeter/gui/action/HtmlReportGenerator.java
@@ -94,7 +94,7 @@ public class HtmlReportGenerator {
                     "generate_report_ui.generation_timeout", COMMAND_TIMEOUT, commandExecutionOutput,
e);
         } catch (InterruptedException | IOException e) {
             errorMessageList.add(MessageFormat.format(JMeterUtils.getResString("generate_report_ui.html_report_unknown_error"),
-                    e.getMessage(), commandExecutionOutput.toString()));
+                    e.getMessage(), commandExecutionOutput));
             LOGGER.error("Error during HTML report generation, executing {}", commandExecutionOutput,
e);
             if (e instanceof InterruptedException) {
                 Thread.currentThread().interrupt();


Mime
View raw message