Elastic{Account,Group}Index: Move the static Logger right after class

Aligning these two classes also with their ElasticChangeIndex sibling.

Change-Id: I6f96637f90d900608ac13d11480121d0dbb6a689
This commit is contained in:
Marco Miller
2018-06-11 17:24:37 -04:00
committed by David Pursehouse
parent 3379562311
commit 23f956dac7
2 changed files with 4 additions and 2 deletions

View File

@@ -57,6 +57,8 @@ import org.slf4j.LoggerFactory;
public class ElasticAccountIndex extends AbstractElasticIndex<Account.Id, AccountState>
implements AccountIndex {
private static final Logger log = LoggerFactory.getLogger(ElasticAccountIndex.class);
static class AccountMapping {
final MappingProperties accounts;
@@ -66,7 +68,6 @@ public class ElasticAccountIndex extends AbstractElasticIndex<Account.Id, Accoun
}
private static final String ACCOUNTS = "accounts";
private static final Logger log = LoggerFactory.getLogger(ElasticAccountIndex.class);
private final AccountMapping mapping;
private final Provider<AccountCache> accountCache;

View File

@@ -54,6 +54,8 @@ import org.slf4j.LoggerFactory;
public class ElasticGroupIndex extends AbstractElasticIndex<AccountGroup.UUID, AccountGroup>
implements GroupIndex {
private static final Logger log = LoggerFactory.getLogger(ElasticGroupIndex.class);
static class GroupMapping {
final MappingProperties groups;
@@ -63,7 +65,6 @@ public class ElasticGroupIndex extends AbstractElasticIndex<AccountGroup.UUID, A
}
private static final String GROUPS = "groups";
private static final Logger log = LoggerFactory.getLogger(ElasticGroupIndex.class);
private final GroupMapping mapping;
private final Provider<GroupCache> groupCache;