Remove unecessary calls to super()
This commit is contained in:
parent
afe3cba9c3
commit
71ae5b5dee
|
@ -15,9 +15,8 @@ public class Author extends Person {
|
|||
|
||||
List<Item> items = new ArrayList<>();
|
||||
|
||||
public Author(){
|
||||
super();
|
||||
}
|
||||
public Author(){}
|
||||
|
||||
public Author(String firstName, String lastName) {
|
||||
super(firstName, lastName);
|
||||
}
|
||||
|
|
|
@ -19,9 +19,7 @@ public class Book extends Item {
|
|||
private Date published;
|
||||
private BigDecimal pages;
|
||||
|
||||
public Book() {
|
||||
super();
|
||||
}
|
||||
public Book() {}
|
||||
|
||||
public Book(String title, Author author) {
|
||||
super(title, author);
|
||||
|
|
|
@ -18,9 +18,7 @@ public class Author extends Person {
|
|||
|
||||
private List<Item> items = new ArrayList<>();
|
||||
|
||||
public Author(){
|
||||
super();
|
||||
}
|
||||
public Author(){}
|
||||
|
||||
public Author(String firstName, String lastName) {
|
||||
super(firstName, lastName);
|
||||
|
|
|
@ -19,9 +19,7 @@ public class Book extends Item {
|
|||
private Date published;
|
||||
private BigDecimal pages;
|
||||
|
||||
public Book(){
|
||||
super();
|
||||
}
|
||||
public Book(){}
|
||||
|
||||
public Book(String title, Author author) {
|
||||
super(title, author);
|
||||
|
|
Loading…
Reference in New Issue