Code cleanup

This commit is contained in:
Ilkka Seppälä
2020-07-30 17:25:32 +03:00
parent 5381387026
commit 981985531d
243 changed files with 1157 additions and 1166 deletions

View File

@@ -103,10 +103,7 @@ public class HeroStat {
if (luck != other.luck) {
return false;
}
if (strength != other.strength) {
return false;
}
return true;
return strength == other.strength;
}
// The clone() method should not be public. Just don't override it.