Improve class naming of group inclusion cache loaders
In [1] the inner classes were named with lowerCaseNames.
thisIsNotStandard. StandardForClassNamesBeginsWithCaps.
[1] https://gerrit-review.googlesource.com/60356
Change-Id: Ia223cb6f010555841fd00be06c56b880968312fe
diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/account/GroupIncludeCacheImpl.java b/gerrit-server/src/main/java/com/google/gerrit/server/account/GroupIncludeCacheImpl.java
index c982aa5..9e7918d 100644
--- a/gerrit-server/src/main/java/com/google/gerrit/server/account/GroupIncludeCacheImpl.java
+++ b/gerrit-server/src/main/java/com/google/gerrit/server/account/GroupIncludeCacheImpl.java
@@ -53,12 +53,12 @@
cache(PARENT_GROUPS_NAME,
AccountGroup.UUID.class,
new TypeLiteral<Set<AccountGroup.UUID>>() {})
- .loader(parentGroupsLoader.class);
+ .loader(ParentGroupsLoader.class);
cache(SUBGROUPS_NAME,
AccountGroup.UUID.class,
new TypeLiteral<Set<AccountGroup.UUID>>() {})
- .loader(subgroupsLoader.class);
+ .loader(SubgroupsLoader.class);
cache(EXTERNAL_NAME,
String.class,
@@ -133,12 +133,12 @@
}
}
- static class subgroupsLoader extends
+ static class SubgroupsLoader extends
CacheLoader<AccountGroup.UUID, Set<AccountGroup.UUID>> {
private final SchemaFactory<ReviewDb> schema;
@Inject
- subgroupsLoader(final SchemaFactory<ReviewDb> sf) {
+ SubgroupsLoader(final SchemaFactory<ReviewDb> sf) {
schema = sf;
}
@@ -163,12 +163,12 @@
}
}
- static class parentGroupsLoader extends
+ static class ParentGroupsLoader extends
CacheLoader<AccountGroup.UUID, Set<AccountGroup.UUID>> {
private final SchemaFactory<ReviewDb> schema;
@Inject
- parentGroupsLoader(final SchemaFactory<ReviewDb> sf) {
+ ParentGroupsLoader(final SchemaFactory<ReviewDb> sf) {
schema = sf;
}