Replace our own @Nullable with javax.annotation.Nullable.
This change removes the internal @Nullable annotation used in Gerrit's codebase and replaces it with the jsr305 implementation. Change-Id: I7f247e17df8dd1f02380d1b595969cd1eb39975e
This commit is contained in:
@@ -24,7 +24,6 @@ import com.google.gerrit.server.account.AccountState;
|
||||
import com.google.gerrit.server.account.Realm;
|
||||
import com.google.gerrit.server.config.AuthConfig;
|
||||
import com.google.gerrit.server.config.CanonicalWebUrl;
|
||||
import com.google.gerrit.server.config.Nullable;
|
||||
import com.google.gwtorm.client.OrmException;
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.OutOfScopeException;
|
||||
@@ -48,6 +47,8 @@ import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/** An authenticated user. */
|
||||
public class IdentifiedUser extends CurrentUser {
|
||||
/** Create an IdentifiedUser, ignoring any per-request state. */
|
||||
|
||||
Reference in New Issue
Block a user