refactor(imports): optimize imports

This commit is contained in:
2026-05-16 11:43:16 +04:00
parent c77277af0b
commit ce723afc8b
50 changed files with 67 additions and 88 deletions
@@ -1,8 +1,8 @@
package com.correx.core.transitions.analysis
import com.correx.core.events.types.StageId
import com.correx.core.transitions.graph.TransitionEdge
import com.correx.core.transitions.graph.WorkflowGraph
import com.correx.core.events.types.StageId
internal class DeterministicAdjacencyBuilder {
fun build(graph: WorkflowGraph): Map<StageId, List<TransitionEdge>> {
@@ -1,8 +1,8 @@
package com.correx.core.transitions.execution
import com.correx.core.transitions.evaluation.EvaluationContext
import com.correx.core.events.types.StageId
import com.correx.core.events.types.TransitionId
import com.correx.core.transitions.evaluation.EvaluationContext
data class StageExecutionRequest(
val sessionId: String,
@@ -4,9 +4,9 @@ import com.correx.core.events.events.EventPayload
import com.correx.core.events.events.StageCompletedEvent
import com.correx.core.events.events.StageFailedEvent
import com.correx.core.events.events.TransitionExecutedEvent
import com.correx.core.events.types.SessionId
import com.correx.core.transitions.execution.StageExecutionRequest
import com.correx.core.transitions.execution.StageExecutionResult
import com.correx.core.events.types.SessionId
class DefaultStageExecutionEventMapper : StageExecutionEventMapper {
@@ -1,7 +1,7 @@
package com.correx.core.transitions.policy
import com.correx.core.events.types.StageId
import java.util.SortedSet
import java.util.*
data class CycleSignature(
val nodes: SortedSet<StageId>,
@@ -2,7 +2,7 @@ package com.correx.core.transitions.policy
import com.correx.core.events.types.StageId
import com.correx.core.transitions.graph.TransitionEdge
import java.util.TreeSet
import java.util.*
object CycleSignatureFactory {
fun from(nodes: List<StageId>, edges: List<TransitionEdge>): CycleSignature {
@@ -1,8 +1,8 @@
package com.correx.core.transitions.state
import com.correx.core.events.types.StageId
import com.correx.core.transitions.analysis.DetectedCycle
import com.correx.core.transitions.graph.TransitionEdge
import com.correx.core.events.types.StageId
internal class CycleDfs {
fun dfs(