mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-16 06:19:49 +00:00
25 lines
429 B
Java
25 lines
429 B
Java
// version 13:
|
|
public class TextBlocks {
|
|
private String example = """
|
|
This should not be indented.\nline 2
|
|
line 3
|
|
""";
|
|
|
|
private String ex2 = """
|
|
This should be though.
|
|
""";
|
|
|
|
private String ex3 = "This is a simple\nstring";
|
|
|
|
private String ex4 = """
|
|
""";
|
|
|
|
private String bizarroDent = """
|
|
foo\n bar""" + "hey" + """
|
|
weird!""";
|
|
|
|
private String stringFolding = "hmmm" + """
|
|
line1
|
|
line2""";
|
|
}
|