Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/OrtService.java @ 1042:3a5a9a0492d1 schema-update
Fixed warnings.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 05 Sep 2016 10:18:38 +0200 |
parents | f92c96efa976 |
children |
comparison
equal
deleted
inserted
replaced
1041:f92c96efa976 | 1042:3a5a9a0492d1 |
---|---|
261 @Path("/{id}") | 261 @Path("/{id}") |
262 @Produces(MediaType.APPLICATION_JSON) | 262 @Produces(MediaType.APPLICATION_JSON) |
263 public Response update( | 263 public Response update( |
264 @Context HttpHeaders headers, | 264 @Context HttpHeaders headers, |
265 @Context HttpServletRequest request, | 265 @Context HttpServletRequest request, |
266 @PathParam("id") String id, | |
266 Ortszuordnung ort | 267 Ortszuordnung ort |
267 ) { | 268 ) { |
268 if (!authorization.isAuthorized( | 269 if (!authorization.isAuthorized( |
269 request, | 270 request, |
270 ort, | 271 ort, |