Bump dependencies + linting
This commit is contained in:
@@ -44,8 +44,11 @@ class BackupFileValidator(
|
||||
.filter { sourceManager.get(it.key) == null }
|
||||
.values.map {
|
||||
val id = it.toLongOrNull()
|
||||
if (id == null) it
|
||||
else sourceManager.getOrStub(id).toString()
|
||||
if (id == null) {
|
||||
it
|
||||
} else {
|
||||
sourceManager.getOrStub(id).toString()
|
||||
}
|
||||
}
|
||||
.distinct()
|
||||
.sorted()
|
||||
|
||||
@@ -11,7 +11,8 @@ data class BackupTracking(
|
||||
@ProtoNumber(1) var syncId: Int,
|
||||
// LibraryId is not null in 1.x
|
||||
@ProtoNumber(2) var libraryId: Long,
|
||||
@Deprecated("Use mediaId instead", level = DeprecationLevel.WARNING) @ProtoNumber(3)
|
||||
@Deprecated("Use mediaId instead", level = DeprecationLevel.WARNING)
|
||||
@ProtoNumber(3)
|
||||
var mediaIdInt: Int = 0,
|
||||
// trackingUrl is called mediaUrl in 1.x
|
||||
@ProtoNumber(4) var trackingUrl: String = "",
|
||||
|
||||
Reference in New Issue
Block a user