Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/rest/MessprogrammMmtService.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 |
---|---|
202 @PUT | 202 @PUT |
203 @Path("/{id}") | 203 @Path("/{id}") |
204 @Produces(MediaType.APPLICATION_JSON) | 204 @Produces(MediaType.APPLICATION_JSON) |
205 public Response update( | 205 public Response update( |
206 @Context HttpServletRequest request, | 206 @Context HttpServletRequest request, |
207 @PathParam("id") String id, | |
207 MessprogrammMmt messprogrammmmt | 208 MessprogrammMmt messprogrammmmt |
208 ) { | 209 ) { |
209 if (!authorization.isAuthorized( | 210 if (!authorization.isAuthorized( |
210 request, | 211 request, |
211 messprogrammmmt, | 212 messprogrammmmt, |