Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed typo in Migrations.kt #7316

Merged
merged 1 commit into from
Nov 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/com/nextcloud/client/migrations/Migrations.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Migrations @Inject constructor(
* metadata required to register and log overall migration progress.
*
* @param id Step id; id must be unique; this is verified upon registration
* @param description Human readable migration step descriptionsss
* @param description Human readable migration step descriptions
* @param mandatory If true, failing migration will cause an exception; if false, it will be skipped and repeated
* again on next startup
* @throws Exception migration logic is permitted to throw any kind of exceptions; all exceptions will be wrapped
Expand All @@ -58,7 +58,7 @@ class Migrations @Inject constructor(
abstract class Step(val id: Int, val description: String, val mandatory: Boolean = true) : Runnable

/**
* Migrate legacy accounts by addming user IDs. This migration can be re-tried until all accounts are
* Migrate legacy accounts by adding user IDs. This migration can be re-tried until all accounts are
* successfully migrated.
*/
private val migrateUserId = object : Step(0, "Migrate user id", false) {
Expand Down