Skip to content

Commit

Permalink
Refactor some code
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-artuhov committed Feb 4, 2025
1 parent 4e161eb commit 2ddc1d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1210,13 +1210,7 @@ abstract class ManagedStrategy(
var from: Int = 0
var to: Int = 0
when (methodName) {
in listOf(
"fill",
"sort", "parallelSort",
"setAll", "parallelSetAll",
"parallelPrefix",
"stream"
) -> {
in listOf("fill", "sort", "parallelSort", "setAll", "parallelSetAll", "parallelPrefix") -> {
if (params.size >= 3) {
from = params[1] as Int // fromIndex
to = params[2] as Int // toIndex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

package org.jetbrains.kotlinx.lincheck_test.strategy.modelchecking.snapshot

import org.jetbrains.kotlinx.lincheck.LoggingLevel
import org.jetbrains.kotlinx.lincheck.annotations.Operation
import org.jetbrains.kotlinx.lincheck.execution.ExecutionResult
import org.jetbrains.kotlinx.lincheck.execution.ExecutionScenario
Expand Down

0 comments on commit 2ddc1d6

Please sign in to comment.