AccountsUpdate: Move comment about reindexing to class JavaDoc
This is where it was meant to be.
Change-Id: Iefad88afed878a22888df1c0cd73a4d6ea6aaf6a
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/account/AccountsUpdate.java b/gerrit-server/src/main/java/com/google/gerrit/server/account/AccountsUpdate.java
index 64c1189..54e06de 100644
--- a/gerrit-server/src/main/java/com/google/gerrit/server/account/AccountsUpdate.java
+++ b/gerrit-server/src/main/java/com/google/gerrit/server/account/AccountsUpdate.java
@@ -43,7 +43,12 @@
import org.eclipse.jgit.lib.RefUpdate.Result;
import org.eclipse.jgit.lib.Repository;
-/** Updates accounts. */
+/**
+ * Updates accounts.
+ *
+ * <p>On updating accounts this class takes care to evict them from the account cache and thus
+ * triggers reindex for them.
+ */
@Singleton
public class AccountsUpdate {
/**
@@ -51,9 +56,6 @@
*
* <p>The Gerrit server identity will be used as author and committer for all commits that update
* the accounts.
- *
- * <p>On updating accounts this class takes care to evict them from the account cache and thus
- * triggers reindex for them.
*/
@Singleton
public static class Server {