On Thu, 20 May 2021 15:05:05 GMT, Jonathan Gibbons <j...@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

Reply via email to