Skip to content

Commit b6c8c91

Browse files
committed
Print the unchanged SQL string before stripIndent()
1 parent 5a2f574 commit b6c8c91

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/main/java/eu/happycoders/string/basics/Ch6Changing.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ static void main() {
2828

2929
System.out.println("== stripIndent() and indent()");
3030
String sql = " SELECT name\n FROM users";
31+
System.out.println(sql);
3132
System.out.println(sql.stripIndent());
3233
System.out.print(sql.stripIndent().indent(2));
3334

0 commit comments

Comments
 (0)