Remove unecessary calls to super()

This commit is contained in:
Alex Theedom 2016-12-06 13:49:59 +00:00
parent afe3cba9c3
commit 71ae5b5dee
4 changed files with 5 additions and 12 deletions

View File

@ -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);
}

View File

@ -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);

View File

@ -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);

View File

@ -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);