kwin commented on code in PR #236: URL: https://github.com/apache/maven-doxia/pull/236#discussion_r1801467513
########## doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/Sink.java: ########## @@ -1724,6 +1724,17 @@ public interface Sink extends AutoCloseable { */ void comment(String comment); + /** + * Add a comment. The default implementation will just call {@link #comment(String)}. + * + * @param comment The comment to write. + * @param isBlockComment If <code>true</code> this is a block comment, i.e. nothing should follow on the same line + * @since 2.1 + */ + default void comment(String comment, boolean isBlockComment) { + comment(comment); + } Review Comment: Probably `endsWithLineBreak` is more accurate here. -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org