Removed unused import.
This commit is contained in:
parent
4e2f3e3642
commit
32d601a78c
@ -7,7 +7,6 @@ import io.dropwizard.jersey.setup.JerseyEnvironment;
|
|||||||
import io.dropwizard.setup.Bootstrap;
|
import io.dropwizard.setup.Bootstrap;
|
||||||
import io.dropwizard.setup.Environment;
|
import io.dropwizard.setup.Environment;
|
||||||
import org.jdbi.v3.core.Jdbi;
|
import org.jdbi.v3.core.Jdbi;
|
||||||
import uk.co.neviyn.Observations.core.Observation;
|
|
||||||
import uk.co.neviyn.Observations.dao.ObservationDao;
|
import uk.co.neviyn.Observations.dao.ObservationDao;
|
||||||
import uk.co.neviyn.Observations.dao.SiteDao;
|
import uk.co.neviyn.Observations.dao.SiteDao;
|
||||||
import uk.co.neviyn.Observations.dao.TutorDao;
|
import uk.co.neviyn.Observations.dao.TutorDao;
|
||||||
@ -27,7 +26,7 @@ public class ObservationsApplication extends Application<ObservationsConfigurati
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run(ObservationsConfiguration observationsConfiguration, Environment environment) throws Exception {
|
public void run(ObservationsConfiguration observationsConfiguration, Environment environment) {
|
||||||
final JerseyEnvironment jersey = environment.jersey();
|
final JerseyEnvironment jersey = environment.jersey();
|
||||||
final JdbiFactory factory = new JdbiFactory();
|
final JdbiFactory factory = new JdbiFactory();
|
||||||
final Jdbi jdbi = factory.build(environment, observationsConfiguration.getDataSourceFactory(), "database");
|
final Jdbi jdbi = factory.build(environment, observationsConfiguration.getDataSourceFactory(), "database");
|
||||||
|
Loading…
Reference in New Issue
Block a user