On Fri, 21 May 2021 14:18:16 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> The usage of `LinkedList` is senseless and can be replaced with either 
>> `ArrayList` or `ArrayDeque` which are both more compact and effective.
>> 
>> jdk:tier1 and jdk:tier2 are both ok
>
> src/java.base/share/classes/jdk/internal/util/jar/JarIndex.java line 264:
> 
>> 262:                 String jar = jarFiles[i];
>> 263:                 bw.write(jar + "\n");
>> 264:                 ArrayList<String> jarlist = jarMap.get(jar);
> 
> Here again, jarList could probably be declared as `List<String>`

Done

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

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

Reply via email to