AccountIndexer: Annotate AccountIndex with @Nullable

Change-Id: I2a5e7bc64e89bc342a4a6a37033a426757fa7a4e
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2016-07-08 15:48:17 +02:00
parent d86fc5634c
commit ef25aea9d5

View File

@@ -15,6 +15,7 @@
package com.google.gerrit.server.index.account;
import com.google.common.collect.ImmutableSet;
import com.google.gerrit.common.Nullable;
import com.google.gerrit.reviewdb.client.Account;
import com.google.gerrit.server.account.AccountCache;
import com.google.gerrit.server.account.AccountState;
@@ -30,7 +31,7 @@ public class AccountIndexer {
public interface Factory {
AccountIndexer create(AccountIndexCollection indexes);
AccountIndexer create(AccountIndex index);
AccountIndexer create(@Nullable AccountIndex index);
}
private final AccountCache byIdCache;