Skip to content
This repository has been archived by the owner on Aug 6, 2018. It is now read-only.

Commit

Permalink
#176 remove unused uid
Browse files Browse the repository at this point in the history
  • Loading branch information
mrandi committed Jun 30, 2015
1 parent 31dd382 commit 5165b2f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ private static Violation mapToDto(ViolationEntity entity) {
public Violation getViolation(
@ApiParam(value = "Violation id")
@PathVariable(value = "id")
final Long id,
@AuthenticationPrincipal(errorOnInvalidType = true) final String uid) throws NotFoundException {
final Long id) throws NotFoundException {
Violation violation = mapToDto(violationService.findOne(id));
if (violation == null) {
throw new NotFoundException("Violation with id: " + id + " not found!");
Expand Down

0 comments on commit 5165b2f

Please sign in to comment.