fixed javadoc warning

This commit is contained in:
Lars Kühne 2002-10-25 07:19:40 +00:00
parent 87e4f786a5
commit 5f19a9c5a7
2 changed files with 6 additions and 3 deletions

View File

@ -162,7 +162,9 @@ public class CommentManager
}
/**
* Returns the Javadoc comment before the specified line. null is none.
* Returns the Javadoc comment before the specified line.
* A return value of <code>null</code> means there is no such
* comment.
* @return the Javadoc comment, or <code>null</code> if none
* @param aLineNo the line number to check before
**/

View File

@ -97,13 +97,14 @@ public class FileContents
}
/**
* Returns the Javadoc comment before the specified line. null is none.
* Returns the Javadoc comment before the specified line.
* A return value of <code>null</code> means there is no such comment.
* @return the Javadoc comment, or <code>null</code> if none
* @param aLineNo the line number to check before
**/
public String[] getJavadocBefore(int aLineNo)
{
// Lines start at 1 to the callers perspective, so nee to take off 2
// Lines start at 1 to the callers perspective, so need to take off 2
int lineNo = aLineNo - 2;
// skip blank lines