# HG changeset patch # User Torsten Irländer # Date 1370941995 -7200 # Node ID 4ed15ffbc20c7342f1cad2d3d8c80c37cecf9ed0 # Parent bd5c69c4b7691db6d9ab07f1a42e3d89f102b08f Removed code to build the response on creation in the service. Response is already built in the repository. diff -r bd5c69c4b769 -r 4ed15ffbc20c src/main/java/de/intevation/lada/rest/LProbeService.java --- 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; } }