Skip to content

Commit ac708af

Browse files
committed
minor string fix for separator
1 parent b17eb9b commit ac708af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text-io/src/main/java/org/beryx/textio/TextTerminal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ default void println(String message) {
183183
* the decorator does not need to be a single character ie : '*' ... it could also be ie '+++' if desired.
184184
*/
185185
default void separateLineWithDecorator(String s, int length) {
186-
String separator = s;
186+
String separator = "";
187187
for (int i = 0; i < length; i++){
188188
separator = separator + s;
189189
}

0 commit comments

Comments
 (0)