Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/KommentarPService.java @ 1042:3a5a9a0492d1 schema-update
Fixed warnings.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 05 Sep 2016 10:18:38 +0200 |
parents | 1c41c7b8f7c2 |
children |
comparison
equal
deleted
inserted
replaced
1041:f92c96efa976 | 1042:3a5a9a0492d1 |
---|---|
213 @Path("/{id}") | 213 @Path("/{id}") |
214 @Produces(MediaType.APPLICATION_JSON) | 214 @Produces(MediaType.APPLICATION_JSON) |
215 public Response update( | 215 public Response update( |
216 @Context HttpHeaders headers, | 216 @Context HttpHeaders headers, |
217 @Context HttpServletRequest request, | 217 @Context HttpServletRequest request, |
218 @PathParam("id") String id, | |
218 KommentarP kommentar | 219 KommentarP kommentar |
219 ) { | 220 ) { |
220 if (!authorization.isAuthorized( | 221 if (!authorization.isAuthorized( |
221 request, | 222 request, |
222 kommentar, | 223 kommentar, |