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

@@ -18,7 +18,6 @@ import com.google.gerrit.reviewdb.Account;
import com.google.gerrit.reviewdb.Change;
import com.google.gerrit.server.IdentifiedUser;
import com.google.gerrit.server.config.CanonicalWebUrl;
import com.google.gerrit.server.config.Nullable;
import com.google.gerrit.server.git.ReceiveCommits;
import com.google.gerrit.server.git.ReceiveCommits.MessageListener;
import com.google.inject.Inject;
@@ -31,6 +30,8 @@ import java.io.PrintWriter;
import java.util.HashSet;
import java.util.Set;
import javax.annotation.Nullable;
/** Receives change upload over SSH using the Git receive-pack protocol. */
final class Receive extends AbstractGitCommand {
@Inject