mirror of
https://github.com/google/nomulus
synced 2026-01-03 19:54:18 +00:00
Remove getOnlyElement()
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124846747
This commit is contained in:
@@ -205,7 +205,8 @@ public abstract class DomainBase extends EppResource {
|
||||
return FluentIterable
|
||||
.from(nullToEmpty(allContacts))
|
||||
.filter(IS_REGISTRANT)
|
||||
.getOnlyElement()
|
||||
.first()
|
||||
.get()
|
||||
.getContactRef();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user