3 ms·
FWIW the Java snippet seems to be a syntax error instead, the JEP explicitly defines the opening delimiter as three double quotes, any amount of whitespace, and
by masklinn 7y ago
FWIW the Java snippet seems to be a syntax error instead, the JEP explicitly defines the opening delimiter as three double quotes, any amount of whitespace, and a line terminator.
The closing delimiter can, however, be on the same line as the final content (in order to suppress the trailing newline for instance).