Code quality

This commit is contained in:
Benoit Marty 2021-03-03 15:16:48 +01:00 committed by Benoit Marty
parent 8447bf4a2d
commit b8498aecd9
5 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 New Vector Ltd
* Copyright (c) 2021 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -380,4 +380,3 @@ internal class VerificationTransportRoomMessage(
Timber.w("## SAS ignored verification ready with methods: ${keyReq.methods}")
}
}

View File

@ -246,4 +246,3 @@ internal class VerificationTransportToDevice(
)
}
}

View File

@ -42,7 +42,7 @@ internal class RoomDisplayNameResolver @Inject constructor(
@UserId private val userId: String
) {
private val roomDisplayNameFallbackProvider= matrixConfiguration.roomDisplayNameFallbackProvider
private val roomDisplayNameFallbackProvider = matrixConfiguration.roomDisplayNameFallbackProvider
/**
* Compute the room display name

View File

@ -161,7 +161,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===90
enum class===91
### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3