Removing all redundant super constructor calls

This commit is contained in:
James Roland 2018-01-10 21:19:38 -08:00
parent 09c0891948
commit e9a541259b
7 changed files with 1 additions and 9 deletions

View File

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

View File

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

View File

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

View File

@ -42,7 +42,6 @@ public class Book {
* price of the book
*/
public Book(String title, double price) {
super();
this.title = title;
this.price = price;
}

View File

@ -41,8 +41,6 @@ public final class Student implements Serializable {
* @param grade as respective grade of student
*/
public Student(final int studentId, final String name, final char grade) {
super();
this.studentId = studentId;
this.name = name;
this.grade = grade;

View File

@ -31,7 +31,6 @@ public class Message {
// Parameter constructor.
public Message(String msg) {
super();
this.msg = msg;
}

View File

@ -37,7 +37,6 @@ public class HeroStat {
// All constructors must be private.
private HeroStat(int strength, int intelligence, int luck) {
super();
this.strength = strength;
this.intelligence = intelligence;
this.luck = luck;