From b863e78469a5d6eb6bbda94f57d22dde1c339a11 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 23 Jul 2020 12:32:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9=E6=80=A7?= =?UTF-8?q?=E8=83=BD=E6=B5=8B=E8=AF=95=E6=97=A5=E5=BF=97=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?flush?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/performance/service/ReportService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/performance/service/ReportService.java b/backend/src/main/java/io/metersphere/performance/service/ReportService.java index 7878045515..bb9b58cc8e 100644 --- a/backend/src/main/java/io/metersphere/performance/service/ReportService.java +++ b/backend/src/main/java/io/metersphere/performance/service/ReportService.java @@ -231,8 +231,8 @@ public class ReportService { List loadTestReportLogs = loadTestReportLogMapper.selectByExampleWithBLOBs(example); LoadTestReportLog content = loadTestReportLogs.get(0); outputStream.write(content.getContent().getBytes()); + outputStream.flush(); } - outputStream.flush(); } }