-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.2.2
-
generic
-
generic
Name: rlT66838 Date: 08/10/99
If my first line of my javadoc comment ends in a
question mark instead of a period, the next line
gets included as part of the first line. Not good.
Question marks are good for describing boolean attributes
or methods that return a boolean value.
I know that the requirement is to find a line that ends
in a period and then a space, but perhaps this can be
extended to include a quesion mark and a space also.
-----Test Case-----------------------------
public class JavadocDemo
{
/** First line.
Second line.
*/
public boolean correct()
{
}
/** First line?
Second line.
*/
public boolean notCorrect()
{
}
}
(Review ID: 93457)
======================================================================
- duplicates
-
JDK-4165985 javadoc tool: Use BreakIterator to determine end of first sentence
-
- Closed
-