Skip to content

Commit efc490f

Browse files
committed
forgot that cancerous check style
1 parent b2f6856 commit efc490f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/main/java/com/pokegoapi/api/inventory/CandyJar.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ public void removeCandy(PokemonFamilyId family, int amount) {
8383
public int getCandies(PokemonFamilyId family) {
8484
if (candies.containsKey(family)) {
8585
return this.candies.get(family);
86-
}
87-
else {
86+
} else {
8887
return 0;
8988
}
90-
9189
}
9290
}

src/main/java/com/pokegoapi/api/pokemon/Pokemon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public int getIndividualStamina() {
272272
* Calculates the pokemons IV ratio.
273273
* @return the pokemons IV ratio as a double between 0 and 1.0, 1.0 being perfect IVs
274274
*/
275-
public double getIVRatio() {
275+
public double getIvRatio() {
276276
return (this.getIndividualAttack() + this.getIndividualDefense() + this.getIndividualStamina()) / 45.0;
277277
}
278278

0 commit comments

Comments
 (0)