Skip to content

Commit

Permalink
♻️: 0~8에서 0~9까지의 숫자로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Leehunil committed Mar 31, 2024
1 parent bcbe8be commit 3ba37a1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ private String createCode() {
int index = random.nextInt(4);

switch (index) {
case 0: key.append((char) ((int) random.nextInt(26) + 97)); break;
case 1: key.append((char) ((int) random.nextInt(26) + 65)); break;
default: key.append(random.nextInt(9));
case 0: key.append((char) (random.nextInt(26) + 97)); break;
case 1: key.append((char) (random.nextInt(26) + 65)); break;
default: key.append(random.nextInt(10));
}
}
return key.toString();
Expand Down

0 comments on commit 3ba37a1

Please sign in to comment.