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:
Dave Borowitz
2013-12-09 12:19:17 -08:00
committed by Shawn Pearce
parent 826a7b6dda
commit 12e79a4edd
4 changed files with 12 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/** In-memory table of {@link AccountInfo}, indexed by {@link Account.Id}. */
/** In-memory table of {@link AccountInfo}, indexed by {@code Account.Id}. */
public class AccountInfoCache {
private static final AccountInfoCache EMPTY;
static {

View File

@@ -20,7 +20,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/** In-memory table of {@link GroupInfo}, indexed by {@link AccountGroup.Id}. */
/** In-memory table of {@link GroupInfo}, indexed by {@code AccountGroup.Id}. */
public class GroupInfoCache {
private static final GroupInfoCache EMPTY;
static {