[#1936] Fix example in javadoc