mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Remove getOnlyElement()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124846747
This commit is contained in:
parent
2a83d122ef
commit
c70d167a99
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ public abstract class DomainBase extends EppResource {
|
|||
return FluentIterable
|
||||
.from(nullToEmpty(allContacts))
|
||||
.filter(IS_REGISTRANT)
|
||||
.getOnlyElement()
|
||||
.first()
|
||||
.get()
|
||||
.getContactRef();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue