mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-02 15:53:55 +01:00
Removed unnecessary variable "chars"
This commit is contained in:
parent
23c3508ed1
commit
7f4df9db9d
1 changed files with 0 additions and 1 deletions
|
|
@ -534,7 +534,6 @@ class UploadWorker(
|
||||||
|
|
||||||
private fun findUniqueFileName(fileName: String): String {
|
private fun findUniqueFileName(fileName: String): String {
|
||||||
var sequenceFileName: String? = fileName
|
var sequenceFileName: String? = fileName
|
||||||
val chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
|
|
||||||
val random = Random()
|
val random = Random()
|
||||||
|
|
||||||
// Loops until sequenceFileName does not match any existing file names
|
// Loops until sequenceFileName does not match any existing file names
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue