Change all uses of legacy sharedFields to use EppResource fields

This is the penultimate step of migrating away from sharedFields. The next step is to remove them entirely.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116364048
This commit is contained in:
mcilwain 2016-03-04 08:27:27 -08:00 committed by Justine Tunney
parent 675ec8f086
commit 363c812d10
7 changed files with 11 additions and 34 deletions

View file

@ -169,7 +169,7 @@ public class RdapNameserverSearchAction extends RdapActionBase {
.load()
.type(HostResource.class)
.filter("inetAddresses", inetAddress.getHostAddress())
.filter("sharedFields.deletionTime", END_OF_TIME)
.filter("deletionTime", END_OF_TIME)
.limit(rdapResultSetMaxSize);
ImmutableList.Builder<ImmutableMap<String, Object>> builder = new ImmutableList.Builder<>();
for (HostResource hostResource : query) {