mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-04-14 16:24:19 -04:00
minor cleanup
This commit is contained in:
parent
cd6c8d790a
commit
8c38ba2a21
@ -4,7 +4,6 @@ import org.json4s.jackson.Serialization.write
|
|||||||
import lc.core.Config.formats
|
import lc.core.Config.formats
|
||||||
|
|
||||||
trait ByteConvert { def toBytes(): Array[Byte] }
|
trait ByteConvert { def toBytes(): Array[Byte] }
|
||||||
// case class Size(height: Int, width: Int)
|
|
||||||
case class Size(height: Int, width: Int)
|
case class Size(height: Int, width: Int)
|
||||||
case class Parameters(level: String, media: String, input_type: String, size: String)
|
case class Parameters(level: String, media: String, input_type: String, size: String)
|
||||||
case class Id(id: String) extends ByteConvert { def toBytes(): Array[Byte] = { write(this).getBytes } }
|
case class Id(id: String) extends ByteConvert { def toBytes(): Array[Byte] = { write(this).getBytes } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user