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
cqrs/src/main/java/com/iluwatar/cqrs
data-mapper/src/main/java/com/iluwatar/datamapper
queue-load-leveling/src/main/java/com/iluwatar/queue/load/leveling
value-object/src/main/java/com/iluwatar/value/object

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

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

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

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

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