We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b089f14 commit a5af442Copy full SHA for a5af442
src/main/java/bookkeeper/InputHandler.java
@@ -118,7 +118,6 @@ private void addBook(String[] commandArgs) throws IncorrectFormatException {
118
119
// Trim whitespaces from the book title
120
String bookTitle = bookArgs[0].trim();
121
- assert bookTitle != null && !bookTitle.isEmpty() : "Book title cannot be null or empty";
122
123
// Check if book already exists in the inventory
124
if (bookList.findBookByTitle(bookTitle) != null) {
0 commit comments