On Fri, 16 Jul 2021 14:36:25 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

>> Pavel Rappo has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Improve the test
>
> test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java line 579:
> 
>> 577:         return i == a.length();
>> 578:     }
>> 579: 
> 
> Why not `String.startsWith` ?

Good catch! I forgot that I need a qualitative answer not the quantitative 
(e.g. length of the common prefix).

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

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

Reply via email to