mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-11-27 09:33:21 +00:00
ktlint: Fix spacing-between-declarations-with-annotations violations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
1 parent
dcb2460c81
commit
e86846ba6a
2 files changed
+1
-1
No files matched your search
@@ -33,4 +33,3 @@ ktlint_standard_no-single-line-block-comment = disabled
|
||||
ktlint_standard_package-name = disabled
|
||||
ktlint_standard_parameter-list-wrapping = disabled
|
||||
ktlint_standard_property-naming = disabled
|
||||
ktlint_standard_spacing-between-declarations-with-annotations = disabled
|
||||
@@ -8,6 +8,7 @@ import java.io.File
|
||||
class BackupFileLocator(private val homeDir: File) {
|
||||
companion object {
|
||||
const val FILE_NAME_DB = "newpipe.db"
|
||||
|
||||
@Deprecated(
|
||||
"Serializing preferences with Java's ObjectOutputStream is vulnerable to injections",
|
||||
replaceWith = ReplaceWith("FILE_NAME_JSON_PREFS")
|
||||
|
||||
Reference in new issue
Block a user