Removing all redundant super constructor calls
This commit is contained in:
@ -50,7 +50,6 @@ public class Author {
|
||||
* email of the author
|
||||
*/
|
||||
public Author(String username, String name, String email) {
|
||||
super();
|
||||
this.username = username;
|
||||
this.name = name;
|
||||
this.email = email;
|
||||
|
@ -43,7 +43,7 @@ public class Book {
|
||||
private Author author;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param title
|
||||
* title of the book
|
||||
* @param price
|
||||
@ -52,7 +52,6 @@ public class Book {
|
||||
* author of the book
|
||||
*/
|
||||
public Book(String title, double price, Author author) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.price = price;
|
||||
this.author = author;
|
||||
|
@ -45,7 +45,6 @@ public class Author {
|
||||
* username of the author
|
||||
*/
|
||||
public Author(String name, String email, String username) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.email = email;
|
||||
this.username = username;
|
||||
|
@ -42,7 +42,6 @@ public class Book {
|
||||
* price of the book
|
||||
*/
|
||||
public Book(String title, double price) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.price = price;
|
||||
}
|
||||
|
Reference in New Issue
Block a user