Skip to content

Commit

Permalink
Move more files to lila
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Apr 2, 2024
1 parent 521bd45 commit a7e4e86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ final class RandomApi(impl: java.util.Random):

private val chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
private inline def nextAlphanumeric(): Char =
chars.`charAt`(nextInt(chars.length)) // Constant time
chars.charAt(nextInt(chars.length)) // Constant time

def nextString(len: Int): String =
val sb = StringBuilder(len)
Expand Down
File renamed without changes.

0 comments on commit a7e4e86

Please sign in to comment.