RFR: 8287522: StringConcatFactory: Add in prependers and mixers in batches [v2]
Claes Redestad
redestad at openjdk.java.net
Wed Jun 1 21:17:46 UTC 2022
On Tue, 31 May 2022 23:15:26 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Minor stylistic cleanup
>
> src/java.base/share/classes/java/lang/invoke/LambdaForm.java line 204:
>
>> 202: static BasicType basicType(Class<?> type) {
>> 203: if (!type.isPrimitive()) return L_TYPE;
>> 204: return basicType(Wrapper.forPrimitiveType(type).basicTypeChar());
>
> Suggestion:
>
> return basicType(Wrapper.basicTypeChar(type));
I'll go one step further then and also remove the line before it too.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8855
More information about the core-libs-dev
mailing list