Reports redundant @PathVariable name declaration when it matches a parameter name. The quick-fix removes the explicit name attribute from the annotation.

예:


  @GetMapping("/{orderId}")
  public Order getOrder(@PathVariable("orderId") Long orderId)
    return return orderRepository.findOne(orderId);
  }

빠른 수정이 적용된 후 결과는 다음과 같습니다.


  @GetMapping("/{orderId}")
  public Order getOrder(@PathVariable Long orderId)
    return orderRepository.findOne(orderId);
  }