mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Fix Java 7 missing generic type error
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154081069
This commit is contained in:
parent
f296b225af
commit
e19386779c
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ public class FlowReporter {
|
||||||
private static final Optional<String> extractTld(String domainName) {
|
private static final Optional<String> extractTld(String domainName) {
|
||||||
int index = domainName.indexOf('.');
|
int index = domainName.indexOf('.');
|
||||||
return index == -1
|
return index == -1
|
||||||
? Optional.absent()
|
? Optional.<String>absent()
|
||||||
: Optional.of(Ascii.toLowerCase(domainName.substring(index + 1)));
|
: Optional.of(Ascii.toLowerCase(domainName.substring(index + 1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue