From 32f05de98e050f482158a660d99a55bcbe43ddef Mon Sep 17 00:00:00 2001 From: Pekka Helenius Date: Wed, 16 Sep 2020 17:42:48 +0300 Subject: [PATCH] Delete redundant Book class constructor Signed-off-by: Pekka Helenius --- .../src/main/java/com/fjordtek/bookstore/model/Book.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bookstore/src/main/java/com/fjordtek/bookstore/model/Book.java b/bookstore/src/main/java/com/fjordtek/bookstore/model/Book.java index f29adb8..9ddcfd3 100644 --- a/bookstore/src/main/java/com/fjordtek/bookstore/model/Book.java +++ b/bookstore/src/main/java/com/fjordtek/bookstore/model/Book.java @@ -230,15 +230,6 @@ public class Book { public Book() {} - public Book(String title, String author, int year, String isbn, double price) { - // super(); - this.title = title; - this.author = author; - this.year = year; - this.isbn = isbn; - this.price = price; - } - public Book(String title, String author, int year, String isbn, double price, Category category) { // super(); this.title = title;