From c9f43268394e92b2db83088c6707a37f6584e932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A2=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D1=85=D0=BE=D0=B2?= Date: Tue, 1 Oct 2024 13:35:30 +0400 Subject: [PATCH] chore(0pdd): fixed Qulice warning --- .../ru/ewc/checklogic/server/CommandMetadata.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/main/java/ru/ewc/checklogic/server/CommandMetadata.java b/src/main/java/ru/ewc/checklogic/server/CommandMetadata.java index b8aeeb2..d94a28b 100644 --- a/src/main/java/ru/ewc/checklogic/server/CommandMetadata.java +++ b/src/main/java/ru/ewc/checklogic/server/CommandMetadata.java @@ -64,13 +64,14 @@ public CommandMetadata(final Map> metadata) { */ public String namesAsHtmlList(final ServerInstance computation, final String outcome) { return this.names.stream().sorted().map( - command -> """ -
- -
- """.formatted(command, buttonCssClass(computation, command, outcome)) + command -> new StringBuilder() + .append("
") + .append("") + .append("
") + .toString() + .formatted(command, buttonCssClass(computation, command, outcome)) ).collect(Collectors.joining()); }