Skip to content

Commit f18fce0

Browse files
committed
fix: removes unnecessary book not found exception throws clause
1 parent 2b605e8 commit f18fce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ao/com/academy/libraryapi/services/BookService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class BookService {
1414
@Autowired
1515
BookRepository bookRepository;
1616

17-
public List<BookDTO> getBooks() throws BookNotFoundException{
17+
public List<BookDTO> getBooks(){
1818
return bookRepository.findAll();
1919
}
2020

0 commit comments

Comments
 (0)