Eliminate "invalid member type qualification" warnings
These warnings are spurious in that the member types are correctly qualified within the appropriate scope, but Eclipse reports them to be consistent with javadoc[1], which has a long-standing bug. Unfortunately, they also cannot be turned off. For references to common Gerrit key/id types (e.g. Account.Id), just use @code, as the @link isn't providing much value. For references where the link might be more useful, use the fully-qualified type. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=371420 Change-Id: I0baca75c20e69c51d3bf251aa818460d30e3d631
This commit is contained in:

committed by
Shawn Pearce

parent
826a7b6dda
commit
12e79a4edd
@@ -23,8 +23,10 @@ import java.util.ArrayList;
|
||||
* <p>
|
||||
* Suggestions supplied by the implementation of
|
||||
* {@link #onRequestSuggestions(Request, Callback)} are modified to wrap all
|
||||
* occurrences of the {@link SuggestOracle.Request#getQuery()} substring in HTML
|
||||
* {@code <strong>} tags, so they can be emphasized to the user.
|
||||
* occurrences of the
|
||||
* {@link com.google.gwt.user.client.ui.SuggestOracle.Request#getQuery()}
|
||||
* substring in HTML {@code <strong>} tags, so they can be emphasized to
|
||||
* the user.
|
||||
*/
|
||||
public abstract class HighlightSuggestOracle extends SuggestOracle {
|
||||
private static String escape(String ds) {
|
||||
@@ -57,9 +59,10 @@ public abstract class HighlightSuggestOracle extends SuggestOracle {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if {@link SuggestOracle.Suggestion#getDisplayString()} returns
|
||||
* HTML; false if the text must be escaped before evaluating in an
|
||||
* HTML like context.
|
||||
* @return true if
|
||||
* {@link com.google.gwt.user.client.ui.SuggestOracle.Suggestion#getDisplayString()}
|
||||
* returns HTML; false if the text must be escaped before evaluating
|
||||
* in an HTML like context.
|
||||
*/
|
||||
protected boolean isHTML() {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user