mirror of
https://github.com/google/nomulus
synced 2026-01-03 19:54:18 +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.Map;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
import javax.annotation.Nullable;
|
||||||
import org.joda.time.DateTime;
|
import org.joda.time.DateTime;
|
||||||
|
|
||||||
/** Information about a registrar. */
|
/** Information about a registrar. */
|
||||||
@@ -786,6 +787,7 @@ public class Registrar extends ImmutableObject implements Buildable, Jsonifiable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Load a registrar entity by its client id. */
|
/** Load a registrar entity by its client id. */
|
||||||
|
@Nullable
|
||||||
public static Registrar loadByClientId(final String clientId) {
|
public static Registrar loadByClientId(final String clientId) {
|
||||||
return ofy().doTransactionless(new Work<Registrar>() {
|
return ofy().doTransactionless(new Work<Registrar>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user