Skip to content

Commit f424859

Browse files
Vladyslav SupruniukVladyslav Supruniuk
authored andcommitted
Fix
1 parent 1c8709d commit f424859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/core/basesyntax/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static void main(String[] args) {
55
int ballsCapacity = 3;
66

77
Lottery lottery = new Lottery();
8-
Ball[] balls = new Ball[3];
8+
Ball[] balls = new Ball[ballsCapacity];
99

1010
for (int i = 0; i < ballsCapacity; i += 1) {
1111
balls[i] = lottery.getRandomBall();

0 commit comments

Comments
 (0)