On Wed, 20 Oct 2021 00:09:10 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
>> test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java line 1063: >> >>> 1061: * Checks that there are no duplicate lines in the content. >>> 1062: */ >>> 1063: public OutputChecker checkUnique() { >> >> checkUnique seems to be neither used nor tested. As far as I can see, it was >> like that before this PR. Consider removing this method. > > I'll check when/why it was added. It must have been added for a reason. There is a test that uses one of the overloads of `checkUnique`. Since this is an API for tests now and to come, I'd prefer to leave the method in place for now. ------------- PR: https://git.openjdk.java.net/jdk/pull/5743