RFR: JDK-8266856 Make <wbr> element void [v2]
Jonathan Gibbons
jjg at openjdk.java.net
Thu May 20 15:08:29 UTC 2021
On Thu, 20 May 2021 15:05:05 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
>> test/langtools/jdk/javadoc/doclet/testVoidHtmlElements/TestVoidHtmlElements.java line 57:
>>
>>> 55: } catch (IllegalArgumentException e) {
>>> 56: }
>>> 57: }
>>
>> Why do you do the check twice?
>
> OK, I guess I don't need to ... I was thinking to do the checks "both ways", but I guess the intersection is the same both ways.
I'll replace the second check with a comment on the first
-------------
PR: https://git.openjdk.java.net/jdk/pull/4098
More information about the compiler-dev
mailing list