mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 09:50:57 +02:00
Replace some unnecessary uses of "real" ofy() with Ofy.
Only Ofy itself and its two helpers (AugmentedSaver and AugmentedDeleter) need to use the real ofy(). All other callers should be using Ofy. Fixing this even though it doesn't change anything because I found it baffling to follow the code while trying to make a small change. Update: added a presubmit to enforce this. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154456603
This commit is contained in:
parent
927eb43cbc
commit
0267214841
5 changed files with 25 additions and 21 deletions
|
@ -18,8 +18,8 @@ import static com.google.common.base.Functions.constant;
|
|||
import static com.google.common.base.Preconditions.checkState;
|
||||
import static com.google.common.collect.Maps.filterValues;
|
||||
import static com.google.common.collect.Maps.toMap;
|
||||
import static com.googlecode.objectify.ObjectifyService.ofy;
|
||||
import static google.registry.model.ofy.CommitLogBucket.getArbitraryBucketId;
|
||||
import static google.registry.model.ofy.ObjectifyService.ofy;
|
||||
|
||||
import com.google.common.base.Predicate;
|
||||
import com.google.common.base.Predicates;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue