Skip to content

Commit

Permalink
checkstyle & set picker modifier to private
Browse files Browse the repository at this point in the history
  • Loading branch information
mizuo-san committed Dec 29, 2024
1 parent b885e9c commit b2745b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/core/basesyntax/ColorSupplier.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.util.Random;

public class ColorSupplier {
int picker = new Random().nextInt(Color.values().length);
private final int picker = new Random().nextInt(Color.values().length);

public Color getRandomColor() {
return Color.values()[picker];
Expand Down

0 comments on commit b2745b6

Please sign in to comment.