title: Remove this unused method parameter in spring-security @PreAuthorize
body: <p>I have major issue "Remove this unused method parameter "shiftId"" (and some similar issues):</p>
  
  <pre><code>@RequestMapping(value = "/refund/{invoiceId}", method = RequestMethod.GET)
  @PreAuthorize("@AccessPosition.toMeOpen(#shiftId)")
  public PosTransactionRefundInfoDTO getTransactionRefund(@PathVariable("shiftId") Long shiftId, @PathVariable("invoiceId") Long invoiceId)
  {
      // ... some code here
  }
  </code></pre>
  
  <p>Parameter <code>shiftId</code> declared only for <code>@PreAuthorize</code>annotation, it's not used somwhere in method code.
  Can I fix this issue somehow "in a right way", without marking it with "wont fix" or "false positive"?</p>