RFR: 8284893: Fix typos in java.base

Sean Mullan mullan at openjdk.java.net
Fri Apr 15 18:12:51 UTC 2022


On Thu, 14 Apr 2022 20:16:21 GMT, Bradford Wetmore <wetmore at openjdk.org> wrote:

>> I ran `codespell` on the `src/java.base` directory, and accepted those changes where it indeed discovered real typos.
>> 
>> (Due to false positives this can unfortunately not be run automatically) 
>> 
>> The majority of fixes are in comments. A handful is in strings, one in a local variable name, and a couple in parameter declarations.
>> 
>> Annoyingly, there are several instances of "childs" (instead of "children") in the source code, but they were not local and I dared not change them. Someone braver than me might take a stab at it, perhaps..
>
> src/java.base/share/classes/sun/security/provider/certpath/AdjacencyList.java line 128:
> 
>> 126:         // Each time this method is called, we're examining a new list
>> 127:         // from the global list. So, we have to start by getting the list
>> 128:         // that contains the set of Vertices we're considering.
> 
> The class being affected is a Vertex, so either change to vertices, or leave as is...

Agree, suggest changing it to "vertices".

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

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



More information about the security-dev mailing list