[#1785] Fix incorrect javadocs