mirror of
https://github.com/google/nomulus
synced 2026-01-09 07:33:42 +00:00
Remove unnecessary generic type arguments
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175155365
This commit is contained in:
@@ -108,7 +108,7 @@ public class FlowReporter {
|
||||
private static final Optional<String> extractTld(String domainName) {
|
||||
int index = domainName.indexOf('.');
|
||||
return index == -1
|
||||
? Optional.<String>empty()
|
||||
? Optional.empty()
|
||||
: Optional.of(Ascii.toLowerCase(domainName.substring(index + 1)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user