Skip to content

Commit

Permalink
remove the code that manually forces the loading process to take 5 se…
Browse files Browse the repository at this point in the history
…conds
  • Loading branch information
jinliu9508 committed Dec 16, 2024
1 parent 0de1885 commit 3ffa73b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import org.json.JSONObject
internal class OperationModelStore(prefs: IPreferencesService) : ModelStore<Operation>("operations", prefs) {
fun loadOperations() {
load()
Logging.debug("OperationModelStore finished loading.")
}

override fun create(jsonObject: JSONObject?): Operation? {
Expand Down Expand Up @@ -64,7 +63,6 @@ internal class OperationModelStore(prefs: IPreferencesService) : ModelStore<Oper
else -> throw Exception("Unrecognized operation: $operationName")
}

Thread.sleep(5000)
// populate the operation with the data.
operation.initializeFromJson(jsonObject)

Expand Down

0 comments on commit 3ffa73b

Please sign in to comment.