Removing all redundant super constructor calls
This commit is contained in:
parent
09c0891948
commit
e9a541259b
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user