Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fixed code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-hellen committed Apr 16, 2024
1 parent d501609 commit 24dfc97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/org/folio/sample/controller/BookController.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public ResponseEntity<BookDTO> getBook(UUID bookId) {
HttpStatus.OK
);
}

/** {@inheritDoc} */
@Override
public ResponseEntity<BookDTO> updateBook(UUID bookId, BookForCreationDTO newBook) {
log.info("Called PUT /books/{}", bookId);

Expand All @@ -85,7 +86,8 @@ public ResponseEntity<BookDTO> updateBook(UUID bookId, BookForCreationDTO newBoo
HttpStatus.OK
);
}

/** {@inheritDoc} */
@Override
public ResponseEntity<List<BookDTO>> getAllAvailable() {
log.info("Called GET /books/available");

Expand Down

0 comments on commit 24dfc97

Please sign in to comment.