Merge "Remove unused constructor"
This commit is contained in:
@@ -31,7 +31,6 @@ import com.google.inject.AbstractModule;
|
|||||||
import com.google.inject.Guice;
|
import com.google.inject.Guice;
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import com.google.inject.Module;
|
import com.google.inject.Module;
|
||||||
import com.google.inject.Provider;
|
|
||||||
|
|
||||||
import org.kohsuke.args4j.Option;
|
import org.kohsuke.args4j.Option;
|
||||||
|
|
||||||
@@ -40,8 +39,6 @@ import java.io.IOException;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import javax.sql.DataSource;
|
|
||||||
|
|
||||||
/** Initialize a new Gerrit installation. */
|
/** Initialize a new Gerrit installation. */
|
||||||
public class Init extends BaseInit {
|
public class Init extends BaseInit {
|
||||||
@Option(name = "--batch", usage = "Batch mode; skip interactive prompting")
|
@Option(name = "--batch", usage = "Batch mode; skip interactive prompting")
|
||||||
@@ -66,11 +63,7 @@ public class Init extends BaseInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Init(File sitePath) {
|
public Init(File sitePath) {
|
||||||
this(sitePath, null);
|
super(sitePath, true);
|
||||||
}
|
|
||||||
|
|
||||||
public Init(File sitePath, final Provider<DataSource> dsProvider) {
|
|
||||||
super(sitePath, dsProvider, true);
|
|
||||||
batchMode = true;
|
batchMode = true;
|
||||||
noAutoStart = true;
|
noAutoStart = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user