Skip to content

Commit

Permalink
KL-166/style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
ohhamma committed Sep 9, 2024
1 parent 7a66599 commit 8a47033
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,10 @@ public int decreaseLikeCount(Product product) {

@Override
@Transactional
public ProductDetailResponse updateProduct(final Long id, final ProductCreateUpdateRequest updateRequest)
throws ProductNotFoundException {
public ProductDetailResponse updateProduct(
final Long id,
final ProductCreateUpdateRequest updateRequest
) throws ProductNotFoundException {
final Product product = productRepository.findById(id)
.orElseThrow(ProductNotFoundException::new);
validateMyProduct(product);
Expand Down

0 comments on commit 8a47033

Please sign in to comment.