Skip to content

Commit a36e399

Browse files
committed
Fix invalid Javadoc
1 parent c30d1b7 commit a36e399

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
9+
### Fixed
10+
- [Java] Fix invalid Javadoc
911

1012
## [21.15.0] - 2025-09-11
1113
### Changed

java/src/main/java/io/cucumber/htmlformatter/MessagesToHtmlWriter.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private static OutputStreamWriter createWriter(OutputStream outputStream) {
8080
requireNonNull(outputStream),
8181
StandardCharsets.UTF_8);
8282
}
83-
83+
8484
private static String readTemplate() {
8585
try {
8686
ByteArrayOutputStream baos = new ByteArrayOutputStream();
@@ -93,6 +93,7 @@ private static String readTemplate() {
9393
throw new RuntimeException("Could not read resource index.mustache.html", e);
9494
}
9595
}
96+
9697
private static InputStream createInputStream(String text) {
9798
return new ByteArrayInputStream(text.getBytes(UTF_8));
9899
}
@@ -237,7 +238,7 @@ public interface Serializer {
237238
public static Builder builder(Serializer serializer) {
238239
return new Builder(serializer);
239240
}
240-
241+
241242
public static final class Builder {
242243
private final Serializer serializer;
243244
private Supplier<InputStream> title = () -> createInputStream("Cucumber");
@@ -311,7 +312,7 @@ public Builder css(Supplier<InputStream> css) {
311312
*
312313
* @param customCss a supplier for the custom css.
313314
* @return this builder
314-
* @see <a href=https://github.com/cucumber/react-components?tab=readme-ov-file#styling>Cucumber - React Components - Styling</a>
315+
* @see <a href="https://github.com/cucumber/react-components?tab=readme-ov-file#styling">Cucumber - React Components - Styling</a>
315316
*/
316317
public Builder customCss(Supplier<InputStream> customCss) {
317318
this.customCss = requireNonNull(customCss);
@@ -322,7 +323,7 @@ public Builder customCss(Supplier<InputStream> customCss) {
322323
* Replaces default script for the report.
323324
* <p>
324325
* The default script renders the cucumber messages into a report.
325-
* Unless you are building your own html report you should use
326+
* Unless you are building yourMessagesToHtmlWriter own html report you should use
326327
* {@link #customScript(Supplier)} instead.
327328
*
328329
* @param script a supplier for the default script.

0 commit comments

Comments
 (0)