Init{Auth|Sshd}: Remove unused Libraries members
Change-Id: I93430d156546eaad84098bce78893af353c37099
This commit is contained in:
@@ -35,17 +35,15 @@ class InitAuth implements InitStep {
|
|||||||
private final Section auth;
|
private final Section auth;
|
||||||
private final Section ldap;
|
private final Section ldap;
|
||||||
private final Section receive;
|
private final Section receive;
|
||||||
private final Libraries libraries;
|
|
||||||
private final InitFlags flags;
|
private final InitFlags flags;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
InitAuth(InitFlags flags, ConsoleUI ui, Libraries libraries, Section.Factory sections) {
|
InitAuth(InitFlags flags, ConsoleUI ui, Section.Factory sections) {
|
||||||
this.flags = flags;
|
this.flags = flags;
|
||||||
this.ui = ui;
|
this.ui = ui;
|
||||||
this.auth = sections.get("auth", null);
|
this.auth = sections.get("auth", null);
|
||||||
this.ldap = sections.get("ldap", null);
|
this.ldap = sections.get("ldap", null);
|
||||||
this.receive = sections.get(RECEIVE, null);
|
this.receive = sections.get(RECEIVE, null);
|
||||||
this.libraries = libraries;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -40,18 +40,12 @@ import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
|
|||||||
class InitSshd implements InitStep {
|
class InitSshd implements InitStep {
|
||||||
private final ConsoleUI ui;
|
private final ConsoleUI ui;
|
||||||
private final SitePaths site;
|
private final SitePaths site;
|
||||||
private final Libraries libraries;
|
|
||||||
private final Section sshd;
|
private final Section sshd;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
InitSshd(
|
InitSshd(final ConsoleUI ui, final SitePaths site, final Section.Factory sections) {
|
||||||
final ConsoleUI ui,
|
|
||||||
final SitePaths site,
|
|
||||||
final Libraries libraries,
|
|
||||||
final Section.Factory sections) {
|
|
||||||
this.ui = ui;
|
this.ui = ui;
|
||||||
this.site = site;
|
this.site = site;
|
||||||
this.libraries = libraries;
|
|
||||||
this.sshd = sections.get("sshd", null);
|
this.sshd = sections.get("sshd", null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user