File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
buildSrc/src/main/java/org/springframework/boot/build/context/properties Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,15 @@ class Asciidoc {
29
29
this .content = new StringBuilder ();
30
30
}
31
31
32
- void appendWithHardLineBreaks (Object ... items ) {
32
+ Asciidoc appendWithHardLineBreaks (Object ... items ) {
33
33
for (Object item : items ) {
34
34
appendln ("`+" , item , "+` +" );
35
35
}
36
+ return this ;
36
37
}
37
38
38
- void appendln (Object ... items ) {
39
- append (items ).newLine ();
39
+ Asciidoc appendln (Object ... items ) {
40
+ return append (items ).newLine ();
40
41
}
41
42
42
43
Asciidoc append (Object ... items ) {
@@ -46,8 +47,8 @@ Asciidoc append(Object... items) {
46
47
return this ;
47
48
}
48
49
49
- void newLine () {
50
- append (System .lineSeparator ());
50
+ Asciidoc newLine () {
51
+ return append (System .lineSeparator ());
51
52
}
52
53
53
54
@ Override
You can’t perform that action at this time.
0 commit comments