dash ble: fix detekt issues
This commit is contained in:
parent
b71f065974
commit
b33c55273c
|
@ -61,6 +61,6 @@ class EnDecrypt(private val aapsLogger: AAPSLogger, private val nonce: Nonce, pr
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
private val MAC_SIZE = 8
|
private const val MAC_SIZE = 8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ import java.nio.ByteBuffer
|
||||||
/***
|
/***
|
||||||
* String prefix and length encoding and decoding. Example message:
|
* String prefix and length encoding and decoding. Example message:
|
||||||
*/
|
*/
|
||||||
class StringLengthPrefixEncoding {
|
class StringLengthPrefixEncoding private constructor() {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue