mirror of
https://github.com/google/nomulus.git
synced 2025-07-02 01:03:33 +02:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
parent
8dcc2d6833
commit
2aa897e698
140 changed files with 355 additions and 465 deletions
|
@ -21,7 +21,7 @@ abstract class LanguageValidator {
|
|||
|
||||
/** A registry of all known language validators keyed by their language code. */
|
||||
private static final ImmutableMap<String, LanguageValidator> LANGUAGE_VALIDATORS =
|
||||
ImmutableMap.<String, LanguageValidator>of("ja", new JapaneseLanguageValidator());
|
||||
ImmutableMap.of("ja", new JapaneseLanguageValidator());
|
||||
|
||||
/** Return the language validator for the given language code (if one exists). */
|
||||
static Optional<LanguageValidator> get(String language) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue