mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Add type parameters to suppress Eclipse error message
Eclipse (with Guide) is bothering me very much that it cannot infer the intended type for ImmutableList.of() from the argument type that the calling function defines. Adding explicit type parameters to get rid of the annoying exclamations marks in Eclipse. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134105086
This commit is contained in:
parent
8d4234090e
commit
de7fb7a202
7 changed files with 39 additions and 17 deletions
|
@ -137,7 +137,7 @@ public class RdapHelpAction extends RdapActionBase {
|
|||
builder,
|
||||
BoilerplateType.OTHER,
|
||||
ImmutableList.of(getJsonHelpNotice(pathSearchString, rdapLinkBase)),
|
||||
ImmutableList.of(),
|
||||
ImmutableList.<ImmutableMap<String, Object>>of(),
|
||||
rdapLinkBase);
|
||||
return builder.build();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue