mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Tag Registrar.loadByClientId() with @Nullable
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=128180138
This commit is contained in:
parent
64bcad3f21
commit
64a7aeda30
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue