mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
Tag Registrar.loadByClientId() with @Nullable
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128180138
This commit is contained in:
committed by
Justine Tunney
parent
64bcad3f21
commit
64a7aeda30
@@ -72,6 +72,7 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
import javax.annotation.Nullable;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
/** Information about a registrar. */
|
||||
@@ -786,6 +787,7 @@ public class Registrar extends ImmutableObject implements Buildable, Jsonifiable
|
||||
}
|
||||
|
||||
/** Load a registrar entity by its client id. */
|
||||
@Nullable
|
||||
public static Registrar loadByClientId(final String clientId) {
|
||||
return ofy().doTransactionless(new Work<Registrar>() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user