mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 18:59:21 +00:00
Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations.
This commit is contained in:
@@ -16,6 +16,9 @@ public class RainbowFish implements Serializable {
|
||||
private int lengthMeters;
|
||||
private int weightTons;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public RainbowFish(String name, int age, int lengthMeters, int weightTons) {
|
||||
this.name = name;
|
||||
this.age = age;
|
||||
|
||||
Reference in New Issue
Block a user