format code

This commit is contained in:
JuhoKang
2016-02-03 23:38:13 +09:00
parent f71e186959
commit 83533543e6
3 changed files with 1 additions and 9 deletions

View File

@@ -7,14 +7,12 @@ package com.iluwatar.value.object;
*/
public class HeroStat {
// Stats for a hero
private final int strength;
private final int intelligence;
private final int luck;
// All constructors must be private.
private HeroStat(int strength, int intelligence, int luck) {
super();
@@ -87,7 +85,6 @@ public class HeroStat {
return true;
}
// The clone() method should not be public. Just don't override it.
}