securis/src/main/java/net/curisit/securis/services/PackResource.java
.. .. @@ -157,7 +157,7 @@ 157 157 @Produces({ MediaType.APPLICATION_JSON }) 158 158 public Response get(@PathParam("packId") Integer packId, @Context BasicSecurityContext bsc) { 159 159 LOG.info("Getting pack data for id: {}: ", packId); 160 - if (packId == null || "".equals(packId)) {160 + if (packId == null || "".equals(Integer.toString(packId))) {161 161 LOG.error("Pack ID is mandatory"); 162 162 return Response.status(Status.NOT_FOUND).build(); 163 163 }