Mercurial > lada > lada-server
changeset 100:4ed15ffbc20c
Removed code to build the response on creation in the service. Response is
already built in the repository.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 11 Jun 2013 11:13:15 +0200 |
parents | bd5c69c4b769 |
children | 9db50ea77eb4 |
files | src/main/java/de/intevation/lada/rest/LProbeService.java |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/LProbeService.java Tue Jun 11 11:12:26 2013 +0200 +++ b/src/main/java/de/intevation/lada/rest/LProbeService.java Tue Jun 11 11:13:15 2013 +0200 @@ -113,10 +113,5 @@ @Consumes("application/json") public Response create(LProbe probe) { return repository.create(probe); - //int generalError = repository.getGeneralError(); - //Response response = new Response(success, generalError, probe); - //response.setWarnings(repository.getWarnings()); - //response.setErrors(repository.getErrors()); - //return response; } }