Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations.
This commit is contained in:
@ -18,6 +18,9 @@ public class Character implements Prototype {
|
||||
private String name;
|
||||
private Type type;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public Character() {
|
||||
this.prototype = new Prototype() { // Null-value object
|
||||
@Override
|
||||
@ -43,6 +46,9 @@ public class Character implements Prototype {
|
||||
this.prototype = prototype;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public Character(String name, Character prototype) {
|
||||
this.name = name;
|
||||
this.type = prototype.type;
|
||||
|
Reference in New Issue
Block a user