Removed unused imports;
This commit is contained in:
parent
eb0c5abc7b
commit
c1e0241f05
@ -3,8 +3,6 @@ package uk.co.neviyn.Observations.core;
|
|||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import lombok.AccessLevel;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
import lombok.NonNull;
|
import lombok.NonNull;
|
||||||
@ -44,8 +42,8 @@ public class Observation {
|
|||||||
@JsonProperty
|
@JsonProperty
|
||||||
private DateTime date;
|
private DateTime date;
|
||||||
|
|
||||||
public Observation(int siteId, String observed, int monitoring, int control, int conservatism,
|
public Observation(int siteId, String observed, int monitoring, int control, int conservatism, int teamwork,
|
||||||
int teamwork, int knowledge, String rawData) {
|
int knowledge, String rawData) {
|
||||||
this.siteId = siteId;
|
this.siteId = siteId;
|
||||||
this.observed = observed;
|
this.observed = observed;
|
||||||
this.monitoring = monitoring;
|
this.monitoring = monitoring;
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
package uk.co.neviyn.Observations.resources;
|
package uk.co.neviyn.Observations.resources;
|
||||||
|
|
||||||
|
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import uk.co.neviyn.Observations.api.SelectOption;
|
import uk.co.neviyn.Observations.api.SelectOption;
|
||||||
import uk.co.neviyn.Observations.dao.SiteDao;
|
import uk.co.neviyn.Observations.dao.SiteDao;
|
||||||
|
|
||||||
@ -16,7 +14,6 @@ import java.util.stream.Collectors;
|
|||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@Path("/site")
|
@Path("/site")
|
||||||
@Slf4j
|
|
||||||
public class SiteResource {
|
public class SiteResource {
|
||||||
|
|
||||||
private final SiteDao dao;
|
private final SiteDao dao;
|
||||||
|
@ -10,7 +10,6 @@ import javax.ws.rs.WebApplicationException;
|
|||||||
import javax.ws.rs.core.MediaType;
|
import javax.ws.rs.core.MediaType;
|
||||||
import javax.ws.rs.core.Response;
|
import javax.ws.rs.core.Response;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import uk.co.neviyn.Observations.api.SelectOption;
|
import uk.co.neviyn.Observations.api.SelectOption;
|
||||||
import uk.co.neviyn.Observations.core.Tutor;
|
import uk.co.neviyn.Observations.core.Tutor;
|
||||||
import uk.co.neviyn.Observations.dao.TutorDao;
|
import uk.co.neviyn.Observations.dao.TutorDao;
|
||||||
@ -18,7 +17,6 @@ import uk.co.neviyn.Observations.dao.TutorDao;
|
|||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
@Path("/tutor")
|
@Path("/tutor")
|
||||||
@Slf4j
|
|
||||||
public class TutorResource {
|
public class TutorResource {
|
||||||
|
|
||||||
private final TutorDao dao;
|
private final TutorDao dao;
|
||||||
|
Loading…
Reference in New Issue
Block a user