Fix warning "Javadoc: Malformed reference (missing end space separator)"
Javadoc doesn't support generic parameters in @link tags and renders
{@link List<ContextLineInfo>} as 'Link' without adding a link.
Work around this by removing the generic type parameter and setting an
explicit label including the generic type parameter. This shows the
desired text and renders a link to the List class.
See https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6422214
Change-Id: I34aa7b4dec034a3954b328a4e5922e4cb5ddffec
This commit is contained in:
@@ -63,7 +63,8 @@ public class CommentContextLoader {
|
||||
|
||||
/**
|
||||
* Returns an empty list of {@link ContextLineInfo}. Clients are expected to call this method one
|
||||
* or more times. Each call returns a reference to an empty {@link List<ContextLineInfo>}.
|
||||
* or more times. Each call returns a reference to an empty {@link List
|
||||
* List<ContextLineInfo>}.
|
||||
*
|
||||
* <p>A single call to {@link #fill()} will cause all list references returned from this method to
|
||||
* be populated. If a client calls this method again with a comment that was passed before calling
|
||||
|
||||
Reference in New Issue
Block a user