On Tue, 15 Nov 2022 23:06:27 GMT, Jonathan Gibbons <[email protected]> wrote:

> Please review a medium simple update to prefer the use of comma (`,`) instead 
> of colon (`:`) in certain options taking a list of values.    Options taking 
> a search path (like `--class-path`, `--source-path`, etc) are **not** 
> affected.

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseConfiguration.java
 line 478:

> 476:                  * String.split(regex);  instead, we tokenize the 
> string, allowing
> 477:                  * special characters to be escaped with '\'. */
> 478:                 List<String> tokens = tokenize(args.get(1),3);

This should have a space:
Suggestion:

                List<String> tokens = tokenize(args.get(1), 3);

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

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

Reply via email to