Skip to content

Commit 2cc57bc

Browse files
committed
Resolve comments
Signed-off-by: arefbehboudi <[email protected]>
1 parent e5aeca0 commit 2cc57bc

File tree

1 file changed

+6
-5
lines changed
  • buildSrc/src/main/java/org/springframework/boot/build/context/properties

1 file changed

+6
-5
lines changed

buildSrc/src/main/java/org/springframework/boot/build/context/properties/Asciidoc.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ class Asciidoc {
2929
this.content = new StringBuilder();
3030
}
3131

32-
void appendWithHardLineBreaks(Object... items) {
32+
Asciidoc appendWithHardLineBreaks(Object... items) {
3333
for (Object item : items) {
3434
appendln("`+", item, "+` +");
3535
}
36+
return this;
3637
}
3738

38-
void appendln(Object... items) {
39-
append(items).newLine();
39+
Asciidoc appendln(Object... items) {
40+
return append(items).newLine();
4041
}
4142

4243
Asciidoc append(Object... items) {
@@ -46,8 +47,8 @@ Asciidoc append(Object... items) {
4647
return this;
4748
}
4849

49-
void newLine() {
50-
append(System.lineSeparator());
50+
Asciidoc newLine() {
51+
return append(System.lineSeparator());
5152
}
5253

5354
@Override

0 commit comments

Comments
 (0)