RFR - JDK-8223775 String::stripIndent (Preview)
Peter Levart
peter.levart at gmail.com
Fri May 24 06:35:04 UTC 2019
Hi,
Excuse me for asking, but I can't find any text describing motivation
for introduction of this method in JEP-355 other than "Developers will
have access to this algorithm via String::stripIndent instance method"...
If I understand the JEP correctly, this is an algorithm that is applied
to Text Blocks during compilation. Is this method intended for
developers writing java compilers?
Regards, Peter
On 5/21/19 4:56 PM, Jim Laskey wrote:
> Please do a code review of the new String::stripIndent instance
> method. This instance method is being introduced to support JEP-355:
> Text Blocks, by removing incidental indentation from the text block
> content. The algorithm used is defined in the JEP and also described
> in the JBS entry.
>
> Thank you.
>
> -- Jim
>
> webrev: http://cr.openjdk.java.net/~jlaskey/8223775/webrev-01
> jbs: https://bugs.openjdk.java.net/browse/JDK-8223775
> csr: https://bugs.openjdk.java.net/browse/JDK-8223776
> jep: https://bugs.openjdk.java.net/browse/JDK-8222530
>
>
More information about the core-libs-dev
mailing list