On Mon, 6 Jun 2022 20:37:07 GMT, Joe Darcy <da...@openjdk.org> wrote:

>> Various code blocks in Float and Double would be better as snippets.
>
> Joe Darcy has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - Use idiom for shorter lines
>  - Respond to review feedback.

src/java.base/share/classes/java/lang/Double.java line 683:

> 681:      *       "[\\x00-\\x20]*");// Optional trailing "whitespace"
> 682:      *
> 683:      *  if (Pattern.matches(fpRegex, myString)) // @link 
> substring="Pattern.matches" target ="java.util.regex.Pattern#matches"

If you want to avoid the annoyingly long line then you can put the "// @link 
..." on the previous line if you want.

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

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

Reply via email to