correct use of dots in javadoc