Removed unused import.

This commit is contained in:
neviyn 2018-09-17 09:46:00 +01:00
parent 4e2f3e3642
commit 32d601a78c

View File

@ -7,7 +7,6 @@ import io.dropwizard.jersey.setup.JerseyEnvironment;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
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.SiteDao;
import uk.co.neviyn.Observations.dao.TutorDao;
@ -27,7 +26,7 @@ public class ObservationsApplication extends Application<ObservationsConfigurati
}
@Override
public void run(ObservationsConfiguration observationsConfiguration, Environment environment) throws Exception {
public void run(ObservationsConfiguration observationsConfiguration, Environment environment) {
final JerseyEnvironment jersey = environment.jersey();
final JdbiFactory factory = new JdbiFactory();
final Jdbi jdbi = factory.build(environment, observationsConfiguration.getDataSourceFactory(), "database");