On Fri, 28 Oct 2022 20:23:26 GMT, Rémi Forax <fo...@openjdk.org> wrote:

>> Wrong use case. Think `StringProcessor upper = st -> 
>> st.interpolate().toUpperCase();`
>
> Is it that different from`TemplateProcessor<String> upper = st -> 
> st.interpolate().toUpperCase();` ?
> 
> People are really used to use <> with the functional interfaces of 
> java.util.function, and you avoid the "two ways" to express the same thing.

Noted

-------------

PR: https://git.openjdk.org/jdk/pull/10889

Reply via email to