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:
Nico Sallembien
2010-01-25 15:50:55 -08:00
parent 75afdfdc84
commit ee3e737c8a
39 changed files with 73 additions and 75 deletions

View File

@@ -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. */