Merge "InitAdminUser: Remove unneeded optional injection for index collections"
This commit is contained in:
@@ -90,12 +90,12 @@ public class InitAdminUser implements InitStep {
|
|||||||
this.dbFactory = dbFactory;
|
this.dbFactory = dbFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(optional = true)
|
@Inject
|
||||||
void set(AccountIndexCollection accountIndexCollection) {
|
void set(AccountIndexCollection accountIndexCollection) {
|
||||||
this.accountIndexCollection = accountIndexCollection;
|
this.accountIndexCollection = accountIndexCollection;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Inject(optional = true)
|
@Inject
|
||||||
void set(GroupIndexCollection groupIndexCollection) {
|
void set(GroupIndexCollection groupIndexCollection) {
|
||||||
this.groupIndexCollection = groupIndexCollection;
|
this.groupIndexCollection = groupIndexCollection;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user