# HG changeset patch # User Torsten Irländer # Date 1370598307 -7200 # Node ID 8af2a920f9742b41f27f36e322f5ae1e0c2f09d3 # Parent 5deb01ba8312eb824981c5ae7f2de281b3bd4309 Formatting. diff -r 5deb01ba8312 -r 8af2a920f974 src/main/java/de/intevation/lada/rest/LProbeService.java --- a/src/main/java/de/intevation/lada/rest/LProbeService.java Fri Jun 07 11:44:41 2013 +0200 +++ b/src/main/java/de/intevation/lada/rest/LProbeService.java Fri Jun 07 11:45:07 2013 +0200 @@ -21,10 +21,10 @@ import de.intevation.lada.model.LProbe; /** - * This class produces a RESTful service to read the contents of LProbe table. - * - * @author Raimund Renkert - */ +* This class produces a RESTful service to read the contents of LProbe table. +* +* @author Raimund Renkert +*/ @Path("/proben") @RequestScoped public class LProbeService { @@ -51,8 +51,8 @@ @Path("/{id}") @Produces("text/json") public Response findById(@PathParam("id") String id) { - LProbe item = repository.findById(LProbe.class, id); - return new Response(true, "200", item); + LProbe item = repository.findById(LProbe.class, id); + return new Response(true, "200", item); } /**