Move `AccountCleanerTest` out of the `test` package; reduce visibility of test-only fields

This commit is contained in:
Jon Chambers 2022-03-28 17:17:59 -04:00 committed by Jon Chambers
parent c38572307d
commit a4ca1ef1a8
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ public class AccountCleaner extends AccountDatabaseCrawlerListener {
private static final Histogram deletableAccountHistogram = metricRegistry.histogram(name(AccountCleaner.class, "deletableAccountsPerChunk"));
@VisibleForTesting
public static final int MAX_ACCOUNT_UPDATES_PER_CHUNK = 40;
static final int MAX_ACCOUNT_UPDATES_PER_CHUNK = 40;
private final AccountsManager accountsManager;

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013-2020 Signal Messenger, LLC
* Copyright 2013-2022 Signal Messenger, LLC
* SPDX-License-Identifier: AGPL-3.0-only
*/
package org.whispersystems.textsecuregcm.tests.storage;
package org.whispersystems.textsecuregcm.storage;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;