On Thu, 8 Dec 2022 16:18:02 GMT, Pavel Rappo <pra...@openjdk.org> wrote:

>> This PR proposes adding hyperlinks to the sealed graphic layout making 
>> navigation much simpler via the image.
>
> make/jdk/src/classes/build/tools/taglet/SealedGraph.java line 207:
> 
>> 205:             private static String relativeLink(TypeElement rootNode, 
>> TypeElement node) {
>> 206:                 var backNavigator = 
>> rootNode.getQualifiedName().toString().chars()
>> 207:                         .filter(c -> '.' == c)
> 
> "Yoda conditions" are usually frowned upon. Can `c` be `null`?

`c` is a character

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

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

Reply via email to