mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-27 13:03:12 -05:00
minor: privatised some vars
This commit is contained in:
parent
79c7dcdb56
commit
b300fa2178
@ -9,11 +9,11 @@ import java.awt.image.BufferedImage
|
|||||||
import java.awt.{Graphics2D,Color}
|
import java.awt.{Graphics2D,Color}
|
||||||
|
|
||||||
class LabelCaptcha extends ChallengeProvider {
|
class LabelCaptcha extends ChallengeProvider {
|
||||||
var knownFiles = new File("known").list.toList
|
private var knownFiles = new File("known").list.toList
|
||||||
var unknownFiles = new File("unknown").list.toList
|
private var unknownFiles = new File("unknown").list.toList
|
||||||
var tokenImagePair = Map[String, ImagePair]()
|
private var unknownAnswers = Map[String, Map[String, Int]]()
|
||||||
var unknownAnswers = Map[String, Map[String, Int]]()
|
private var total = Map[String, Int]()
|
||||||
var total = Map[String, Int]()
|
|
||||||
for(file <- unknownFiles) {
|
for(file <- unknownFiles) {
|
||||||
unknownAnswers += file -> Map[String, Int]()
|
unknownAnswers += file -> Map[String, Int]()
|
||||||
total += file -> 0
|
total += file -> 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user