ktlint: Fix spacing-between-declarations-with-annotations violations
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
176cb8b672
commit
fbcba84932
2 changed files with 1 additions and 1 deletions
|
|
@ -33,4 +33,3 @@ ktlint_standard_no-single-line-block-comment = disabled
|
||||||
ktlint_standard_package-name = disabled
|
ktlint_standard_package-name = disabled
|
||||||
ktlint_standard_parameter-list-wrapping = disabled
|
ktlint_standard_parameter-list-wrapping = disabled
|
||||||
ktlint_standard_property-naming = 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) {
|
class BackupFileLocator(private val homeDir: File) {
|
||||||
companion object {
|
companion object {
|
||||||
const val FILE_NAME_DB = "newpipe.db"
|
const val FILE_NAME_DB = "newpipe.db"
|
||||||
|
|
||||||
@Deprecated(
|
@Deprecated(
|
||||||
"Serializing preferences with Java's ObjectOutputStream is vulnerable to injections",
|
"Serializing preferences with Java's ObjectOutputStream is vulnerable to injections",
|
||||||
replaceWith = ReplaceWith("FILE_NAME_JSON_PREFS")
|
replaceWith = ReplaceWith("FILE_NAME_JSON_PREFS")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue