Skip to content

Commit 30a48f2

Browse files
2 parents d5ba632 + 246bf3e commit 30a48f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎exercises/bowling/.meta/src/reference/java/BowlingGame.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int score() {
2727
int strikeBonus = strikeBonus(frameIndex);
2828
if (strikeBonus > MAXIMUM_FRAME_SCORE && !isStrike(frameIndex + 1) || spareBonus(frameIndex) > 10) {
2929
throw new IllegalStateException("Pin count exceeds pins on the lane");
30-
}
30+
}
3131

3232
score += 10 + strikeBonus;
3333
frameIndex += i == NUMBER_OF_FRAMES ? 3 : 1;

0 commit comments

Comments
 (0)