Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/KommentarMService.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 |
---|---|
233 @Path("/{id}") | 233 @Path("/{id}") |
234 @Produces(MediaType.APPLICATION_JSON) | 234 @Produces(MediaType.APPLICATION_JSON) |
235 public Response update( | 235 public Response update( |
236 @Context HttpHeaders headers, | 236 @Context HttpHeaders headers, |
237 @Context HttpServletRequest request, | 237 @Context HttpServletRequest request, |
238 @PathParam("id") String id, | |
238 KommentarM kommentar | 239 KommentarM kommentar |
239 ) { | 240 ) { |
240 if (!authorization.isAuthorized( | 241 if (!authorization.isAuthorized( |
241 request, | 242 request, |
242 kommentar, | 243 kommentar, |