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