RFR: JDK-8285932 Implementation of JEP 430 String Templates (Preview) [v21]
Jim Laskey
jlaskey at openjdk.org
Thu Nov 17 15:27:44 UTC 2022
On Tue, 15 Nov 2022 22:05:47 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Wrong line separator
>
> src/java.base/share/classes/java/lang/template/StringTemplate.java line 249:
>
>> 247:
>> 248: /**
>> 249: * Creates a string that interleaves the elements of values between the
>
> It might be worth noting that this is the same as STR::interpolate.
I think you mean `STR.process` but that might be misleading. `interpolate(List<String> fragments, List<?> values)` is actually the fallback method invoked by `STR.process`.
-------------
PR: https://git.openjdk.org/jdk/pull/10889
More information about the core-libs-dev
mailing list