dash ble: fix detekt issues

This commit is contained in:
Andrei Vereha 2021-03-14 16:14:00 +01:00
parent b71f065974
commit b33c55273c
2 changed files with 2 additions and 2 deletions

View file

@ -61,6 +61,6 @@ class EnDecrypt(private val aapsLogger: AAPSLogger, private val nonce: Nonce, pr
companion object {
private val MAC_SIZE = 8
private const val MAC_SIZE = 8
}
}

View file

@ -7,7 +7,7 @@ import java.nio.ByteBuffer
/***
* String prefix and length encoding and decoding. Example message:
*/
class StringLengthPrefixEncoding {
class StringLengthPrefixEncoding private constructor() {
companion object {