Removed unused imports;

This commit is contained in:
neviyn 2018-09-17 13:02:38 +01:00
parent eb0c5abc7b
commit c1e0241f05
3 changed files with 14 additions and 21 deletions

View File

@ -3,8 +3,6 @@ package uk.co.neviyn.Observations.core;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.sql.ResultSet;
import java.sql.SQLException;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;
@ -44,8 +42,8 @@ public class Observation {
@JsonProperty
private DateTime date;
public Observation(int siteId, String observed, int monitoring, int control, int conservatism,
int teamwork, int knowledge, String rawData) {
public Observation(int siteId, String observed, int monitoring, int control, int conservatism, int teamwork,
int knowledge, String rawData) {
this.siteId = siteId;
this.observed = observed;
this.monitoring = monitoring;

View File

@ -1,8 +1,6 @@
package uk.co.neviyn.Observations.resources;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import uk.co.neviyn.Observations.api.SelectOption;
import uk.co.neviyn.Observations.dao.SiteDao;
@ -16,7 +14,6 @@ import java.util.stream.Collectors;
@RequiredArgsConstructor
@Produces(MediaType.APPLICATION_JSON)
@Path("/site")
@Slf4j
public class SiteResource {
private final SiteDao dao;

View File

@ -10,7 +10,6 @@ import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import uk.co.neviyn.Observations.api.SelectOption;
import uk.co.neviyn.Observations.core.Tutor;
import uk.co.neviyn.Observations.dao.TutorDao;
@ -18,7 +17,6 @@ import uk.co.neviyn.Observations.dao.TutorDao;
@RequiredArgsConstructor
@Produces(MediaType.APPLICATION_JSON)
@Path("/tutor")
@Slf4j
public class TutorResource {
private final TutorDao dao;