Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/ZusatzwertService.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 |
---|---|
228 @Path("/{id}") | 228 @Path("/{id}") |
229 @Produces(MediaType.APPLICATION_JSON) | 229 @Produces(MediaType.APPLICATION_JSON) |
230 public Response update( | 230 public Response update( |
231 @Context HttpHeaders headers, | 231 @Context HttpHeaders headers, |
232 @Context HttpServletRequest request, | 232 @Context HttpServletRequest request, |
233 @PathParam("id") String id, | |
233 ZusatzWert zusatzwert | 234 ZusatzWert zusatzwert |
234 ) { | 235 ) { |
235 if (!authorization.isAuthorized( | 236 if (!authorization.isAuthorized( |
236 request, | 237 request, |
237 zusatzwert, | 238 zusatzwert, |