On Thu, 26 Aug 2021 20:37:59 GMT, Andrey Turbanov 
<github.com+741251+turban...@openjdk.org> wrote:

>> src/java.security.jgss/share/classes/sun/security/krb5/internal/ccache/FileCredentialsCache.java
>>  line 574:
>> 
>>> 572:             v.add(st.nextToken());
>>> 573:         }
>>> 574:         final String[] command = new String[v.size()];
>> 
>> Could probably simplify most of these .toArray to simply `var variable = 
>> myarraylist.toArray(new ArrayType[0])`
>
> I think it's better to leave it to separate cleanup issue.

Simplified

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

PR: https://git.openjdk.java.net/jdk/pull/5264

Reply via email to