Fix javadoc code example