Very minor code improvements

This commit is contained in:
2017-08-11 12:32:20 +02:00
parent 6e79b0c50f
commit c81c89197b
2 changed files with 13 additions and 17 deletions

View File

@ -198,10 +198,10 @@ abstract class AbstractCryptography protected constructor(@JvmField protected va
}
companion object {
protected val LOG = LoggerFactory.getLogger(Cryptography::class.java)
protected val LOG = LoggerFactory.getLogger(Cryptography::class.java)!!
private val RANDOM = SecureRandom()
private val TWO = BigInteger.valueOf(2)
private val TWO_POW_64 = TWO.pow(64)
private val TWO_POW_16 = TWO.pow(16)
private val TWO_POW_64 = TWO.pow(64)!!
private val TWO_POW_16 = TWO.pow(16)!!
}
}